I thought that the s:selectItem in JSF2 supports collections of objects, not only SelectItens, but mine is not working as expected:
<h:selectOneMenu id="cidade" value="#{crudTeste.pessoa.cidade}">
<f:selectItems value="#{crudTeste.cidades}" var="item" itemLabel="#{item.nome}" itemValue="#{item}"/>
</h:selectOneMenu>
My backing-bean is with the ViewScope, and i get the following error when i try to submit the form:
"Conversion Error setting value 'org.jsf2sample.entity.Cidade_at_28c5419f' for 'null Converter'."
Am I doing something wrong?
Thks in advance,
Israel
[Message sent by forum member 'israelbgf' (israelbgf)]
http://forums.java.net/jive/thread.jspa?messageID=339851