This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Using DisplayTag with <html:checkbox>

 
a kishore
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can anyone explain

<html:select>
<htmlptionS/>
</html:select>


 
Balu Sadhasivam
Ranch Hand
Posts: 874
Android Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

what does the docs say ?
 
a kishore
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Im not sure what the docs says, but my scenario is this:

i want to display arraylist values in a jsp page in table with each row having checkbox, so that i can check few rows and update. and i need pagination for this table as well. for this scenario i want to use displaytag with multibox.

do you have any idea regading this? if so please let me know.

thanks alot in advance for your help

kishore
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you asking about the Struts <html:select> tag, the <html:options> tag, or DisplayTag?
 
a kishore
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For my scenario, i want to use display tag with checkbox. if you understand my scenario please justify which one is better.


thanks
kishore
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm still lost--DisplayTag with a checkbox doesn't have anything to do with <html:select>. If you're asking which you should do, a select or a checkbox, that's impossible to say--it depends on how many options their are, application requirements, etc.

I've never used DisplayTag, so I can't provide any input there.
 
a kishore
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thank you.

i just realized that for my application i need to do pagination. so i changed from <html:select> to displaytag

so if any one know about how to use displaytag with checkbox please explain the functionality.

thanks in advance,
kishore
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic