Code: Select all
<h:selectOneMenu id="idSelectCostUnit" value="#{detailMeasureMB.costData.selectedCost.unitCode}" immediate="true"
required="true" converter="codeEinheitConverter" style="width:100%;">
<f:selectItem itemLabel="" itemValue="" />
<f:selectItems value="#{detailMeasureMB.unitList}" var="code" itemLabel="#{code.text1}" itemValue="#{code}" />
</h:selectOneMenu>
I'm using Mojarra 2.1 and Primefaces 3.0 M4.itemLabel="#{code.text1}": Property 'text1' not found on type javax.faces.model.SelectItem
Any ideas what is different between the standard jsf component 'selectOneMenu' and the primefaces one?