This helping us, thank so muche. anonymous wrote : 3) Create the relevant framework components (i.e. a entityquery for atoms and compounds, entityhome for molecule | 4) Create a simple CRUD screen using a mixture of h:inputText, h:commandButton s:selectItems and s:convertEntity
To make "create new molecule" screen we defines entity-query in components.xml for use on selectone/selectitems for to let user select atom. So, ofcourse(?) we need selectone/selectitems to return atom id (not Atom object - molecule entity have atom_id property) so moleculeHome can be persist new molecule. Is this what your meaning with s:convertEntity to convert user selectioned Atom object to a id (as java primitive "long")? Can some body show, of this, example please? How it is good to do? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4033440#4033440 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4033440 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user