I've added the EntityConverter from the wiki to CVS (with significant
refactoring). Now, all you should need to do is:
<h:selectOneMenu value="#{person.continent}">
| <s:selectItems value="#{continents.resultList}" var="continent"
label="#{continent.name}" />
| <s:convertEntity />
| </h:selectOneMenu>
for any dropdown which uses entities. It would be great if y'all could test
this :)
The upshot of the refactoring is that it now works ootb for select manys and
composite (embedded) ids. The example and reference guide show the use of this
control.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4026895#4026895
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4026895
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user