Assuming Parent and Child entities where Child has a reference to parent.
| <h:selectOneMenu value="#{child.parent}">
| <s:selectItems value="#{allParents}" var="parent"
label="#{parent.display}"/>
| </h:selectOneMenu>
|
Tweak names as necessary. You'll need some converter in conjunction with this
to convert an entity to a string and back. Look at the seam entity converter
for this, I've not used it myself.
HTH.
Mike.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4035600#4035600
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4035600
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user