4 Replies Latest reply on Mar 13, 2007 8:19 AM by Ciro Cavani


    Pete Muir Master

      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 />

      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.