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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "checkbox in dropdown list" Watch "checkbox in dropdown list" New topic
Author

checkbox in dropdown list

Bhavin Sanghani
Ranch Hand

Joined: Dec 17, 2003
Posts: 67
Hi,

Anybody knows how to add checkbox in dropdown list using JSF?

Thanks,
Bhavin
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41180
    
  45
Do you mean you want each element in the option list also to have a checkbox? HTML forms have no element for that, so you'd have to roll your own.


Ping & DNS - my free Android networking tools app
Bhavin Sanghani
Ranch Hand

Joined: Dec 17, 2003
Posts: 67
Yes..That's what I want. Any hint on that how to build it?
Arshad Sharief
Greenhorn

Joined: Feb 23, 2006
Posts: 14

checkbox in a dropdown??

instead use af:selectManyListbox


Arshad.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: checkbox in dropdown list
 
Similar Threads
Expandable h:selectOneMenu
Can I access java class using Ajax
Need to include check boxes inside combo box
checkbox in dropdown
doubt regarding dropdown list