This content has been marked as final.
Show 2 replies
-
1. Re: How is the Correct use of ui:repeat tag to build a selctOneMenu in XHTML using JBoss Seam Framework?
mmaia Jan 6, 2011 11:43 AM (in response to mmaia)Just managed to fix this using:
<h:selectOneMenu id="carro" value="#{abastecimentoAction.idCarroPesquisa}" required="false"> <s:selectItems var="carro" value="#{carroList.resultList}" label="#{carro.nome}" itemValue="#{carro.id}" /> </h:selectOneMenu>
-
2. Re: How is the Correct use of ui:repeat tag to build a selctOneMenu in XHTML using JBoss Seam Framework?
mkiel Jan 7, 2011 4:51 PM (in response to mmaia)That's the best solution - you might have also succeded by using <c:forEach> instead of <ui:repeat>, but if only the collection is ready at view build time and doesn't change after that. For an in-depth discussion, see this blog post.