This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "checkbox in dropdown list" Watch "checkbox in dropdown list" New topic

checkbox in dropdown list

Bhavin Sanghani
Ranch Hand

Joined: Dec 17, 2003
Posts: 67

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

Ulf Dittmer

Joined: Mar 22, 2005
Posts: 41089
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

Joined: Feb 23, 2006
Posts: 14

checkbox in a dropdown??

instead use af:selectManyListbox

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