This content has been marked as final.
Show 2 replies
-
1. Re: more the one DataModel in one bean
ido_tamir Feb 22, 2007 5:21 AM (in response to macq)http://docs.jboss.com/seam/1.1.5.GA/api/org/jboss/seam/annotations/datamodel/DataModelSelection.html
value
public abstract String value
The context variable name of the DataModel. Defaults to the name for the outjected @DataModel if there is exactly one @DataModel for the component.
HTH
ido -
2. Re: more the one DataModel in one bean
fcheng Mar 7, 2007 2:21 PM (in response to macq)Try this:
@DataModel
private List ugList;
@DataModelSelection("ugList");
private UserGroup sug;
@DataModel
private List rolesList2;
@DataModelSelection("rolesList2")
public Role srole2;