File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Using DisplayTag with <html:checkbox> Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Using DisplayTag with <html:checkbox>" Watch "Using DisplayTag with <html:checkbox>" New topic
Author

Using DisplayTag with <html:checkbox>

a kishore
Ranch Hand

Joined: Sep 16, 2009
Posts: 82
can anyone explain

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


Balu Sadhasivam
Ranch Hand

Joined: Jan 01, 2009
Posts: 874


what does the docs say ?
a kishore
Ranch Hand

Joined: Sep 16, 2009
Posts: 82
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

Joined: Sep 29, 2008
Posts: 12617

Are you asking about the Struts <html:select> tag, the <html:options> tag, or DisplayTag?
a kishore
Ranch Hand

Joined: Sep 16, 2009
Posts: 82
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

Joined: Sep 29, 2008
Posts: 12617

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

Joined: Sep 16, 2009
Posts: 82
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
 
wood burning stoves
 
subject: Using DisplayTag with <html:checkbox>
 
Similar Threads
How to set the tool tip for html:select
Using Ajax with Struts
Logic iterate problem
onSelect attribute for html:select tag
Ajax and jsp as response