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 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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Load h:selectManyCheckbox with items selected" Watch "Load h:selectManyCheckbox with items selected" New topic
Author

Load h:selectManyCheckbox with items selected

Ovidiu Stanciu
Greenhorn

Joined: Oct 23, 2007
Posts: 2
Hello

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:
http://www.javabeat.net/code/lthselectmanycheckboxgt-java-server-faces-jsf/


Krishna Srinivasan
Spring Tutorials, OCAJP Mock Questions, 400+ OCPJP Mock Questions
 
Don't get me started about those stupid light bulbs.
 
subject: Load h:selectManyCheckbox with items selected