wood burning stoves 2.0*
The moose likes JSF and the fly likes Load h:selectManyCheckbox with items selected 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 "Load h:selectManyCheckbox with items selected" Watch "Load h:selectManyCheckbox with items selected" New topic

Load h:selectManyCheckbox with items selected

Ovidiu Stanciu

Joined: Oct 23, 2007
Posts: 2

Could someone tell me how to load a h:selectManyCheckbox with all the checkboxes selected by default (when i load the page)?

Thank you.
Krishna Srinivasan
Ranch Hand

Joined: Jul 28, 2003
Posts: 1844

example program:

Krishna Srinivasan
Spring Tutorials, OCAJP Mock Questions, 400+ OCPJP Mock Questions
subject: Load h:selectManyCheckbox with items selected
Similar Threads
h:selectBooleanCheckbox required validation
selectManyCheckBox doesnt popolate the values selected
How to delete items from the cart through jsf
ajax4jsf: how to get selected value(s) from component with f:selectItems
using h:selectManyCheckbox inside h:dataTable