This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman 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 Building Microservices this week in the Design 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: 42958
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.
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

I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: checkbox in dropdown list
It's not a secret anymore!