aspose 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 Java 8 in Action this week in the Java 8 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: 39576
    
  27
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 - updated with new look and Ping home screen widget
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.
 
Consider Paul's rocket mass heater.
 
subject: checkbox in dropdown list
 
Similar Threads
doubt regarding dropdown list
Can I access java class using Ajax
checkbox in dropdown
Need to include check boxes inside combo box
Expandable h:selectOneMenu