Skip to content
Prev Previous commit
Next Next commit
Switched selectBooleanCheckbox to selectManyCheckbox in appropriate a…
…reas

In the selectManyListbox and selectManyMenu components, I updated selectBooleanCheckbox to selectManyCheckbox to account for the requirement that a list or array must be provided as the value.
  • Loading branch information
rbrinkster committed Jun 22, 2015
commit d20d81bcde53ea56a3023e0001f0dfdead4c8ee7
8 changes: 4 additions & 4 deletions jsf/components/src/main/webapp/index.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -111,20 +111,20 @@
</h:selectManyCheckbox>

<p/><b>selectManyListbox</b><br/>
<h:selectManyListbox value="#{myBean.selectBooleanCheckbox}" size="2">
<h:selectManyListbox value="#{myBean.selectManyCheckbox}" size="2">
<f:selectItem itemValue="red" itemLabel="Red"/>
<f:selectItem itemValue="green" itemLabel="Green"/>
<f:selectItem itemValue="blue" itemLabel="Blue"/>
<f:selectItem itemValue="yellow" itemLabel="yellow"/>
<f:selectItem itemValue="yellow" itemLabel="Yellow"/>
<f:selectItem itemValue="orange" itemLabel="Orange"/>
</h:selectManyListbox>

<p/><b>selectManyMenu</b><br/>
<h:selectManyMenu value="#{myBean.selectBooleanCheckbox}">
<h:selectManyMenu value="#{myBean.selectManyCheckbox}">
<f:selectItem itemValue="red" itemLabel="Red"/>
<f:selectItem itemValue="green" itemLabel="Green"/>
<f:selectItem itemValue="blue" itemLabel="Blue"/>
<f:selectItem itemValue="yellow" itemLabel="yellow"/>
<f:selectItem itemValue="yellow" itemLabel="Yellow"/>
<f:selectItem itemValue="orange" itemLabel="Orange"/>
</h:selectManyMenu>
</h:form>
Expand Down