Using checkboxes

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

</h:selectManyCheckbox>

Using a select list of size 1

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

</h:selectManyMenu>

Using a select list with some height

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

</h:selectManyListbox>

Category:JSFTags

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