Skip to content

Commit d20d81b

Browse files
committed
Switched selectBooleanCheckbox to selectManyCheckbox in appropriate areas
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.
1 parent 8705ff6 commit d20d81b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

jsf/components/src/main/webapp/index.xhtml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,20 +111,20 @@
111111
</h:selectManyCheckbox>
112112

113113
<p/><b>selectManyListbox</b><br/>
114-
<h:selectManyListbox value="#{myBean.selectBooleanCheckbox}" size="2">
114+
<h:selectManyListbox value="#{myBean.selectManyCheckbox}" size="2">
115115
<f:selectItem itemValue="red" itemLabel="Red"/>
116116
<f:selectItem itemValue="green" itemLabel="Green"/>
117117
<f:selectItem itemValue="blue" itemLabel="Blue"/>
118-
<f:selectItem itemValue="yellow" itemLabel="yellow"/>
118+
<f:selectItem itemValue="yellow" itemLabel="Yellow"/>
119119
<f:selectItem itemValue="orange" itemLabel="Orange"/>
120120
</h:selectManyListbox>
121121

122122
<p/><b>selectManyMenu</b><br/>
123-
<h:selectManyMenu value="#{myBean.selectBooleanCheckbox}">
123+
<h:selectManyMenu value="#{myBean.selectManyCheckbox}">
124124
<f:selectItem itemValue="red" itemLabel="Red"/>
125125
<f:selectItem itemValue="green" itemLabel="Green"/>
126126
<f:selectItem itemValue="blue" itemLabel="Blue"/>
127-
<f:selectItem itemValue="yellow" itemLabel="yellow"/>
127+
<f:selectItem itemValue="yellow" itemLabel="Yellow"/>
128128
<f:selectItem itemValue="orange" itemLabel="Orange"/>
129129
</h:selectManyMenu>
130130
</h:form>

0 commit comments

Comments
 (0)