how can I implement more the one DataModel in one bean ?
what should I add to make it work
| @DataModel
| private List<UserGroup> ugList;
|
| @DataModelSelection
| private UserGroup sug;
|
| @DataModel
| private List<Role> rolesList2;
|
| @DataModelSelection
| public Role srole2;
|
| @PersistenceContext
| private EntityManager em;
the error I get:
| ERROR [[/expert]] Exception sending context initialized event to listener instance of
class org.jboss.seam.servlet.SeamListener
| java.lang.IllegalStateException: Missing value() for @DataModelSelection with multiple
@DataModels
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4020460#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...