Differences between revisions 2 and 3
Revision 2 as of 2005-06-01 14:19:28
Size: 598
Comment:
Revision 3 as of 2009-09-20 23:01:15
Size: 598
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 19: Line 19:
["Category:JSFTags"] [[Category:JSFTags]]

Using checkboxes

<h:selectManyCheckbox id="mySelectBox" value="#{managedBean.selectedValues}">

  • <f:selectItems value="#{managedBean.valuesList}"/>

</h:selectManyCheckbox>

Using a select list of size 1

<h:selectManyMenu id="mySelectBox" value="#{managedBean.selectedValues}">

  • <f:selectItems value="#{managedBean.valuesList}"/>

</h:selectManyMenu>

Using a select list with some height

<h:selectManyListbox id="mySelectBox" value="#{managedBean.selectedValues}">

  • <f:selectItems value="#{managedBean.valuesList}">

</h:selectManyListbox>

Category:JSFTags

UISelectMany (last edited 2009-09-20 23:01:15 by localhost)