Hello:
Not sure this will help you out but I found this code that uses 1.0 tags:
<f:use_faces>
<h:form formName="myForm">
<h:selectone_menu size="3"
valueRef="selectedCountryBean.selectedCountry">
<h:selectitems valueRef="countryListBean.countryList"/>
</h:selectone_menu>
<h:command_button commandName="submit" label="submit"/>
<hr>
You selected:
<h
utput_text valueRef="selectedCountryBean.selectedCountry"/>
</h:form>
</f:use_faces>
...converting it to 1.1 looks like this:
<f:view>
<h:form id="myForm">
<h:selectOneMenu value="#{selectedCountryBean.selectedCountry}">
<f:selectItems value="#{countryListBean.countryList}"/>
</h:selectOneMenu>
<h:commandButton value="submit" />
<hr>
You selected: <h
utputText value="#selectedCountryBean.selectedCountry}"/>
</h:form>
</f:view>
...I'm no guru but from what I gathered I thought the implementation knew that it had a collection so one didn't have to use an iterating tag or loop but I keep getting a NPE with this code...I haven't had time to figure it out yet.