[jboss-user] [JBoss Seam] - @DataModelSelection in Stateful bean
kaviarasu
do-not-reply at jboss.com
Fri Jul 13 08:24:27 EDT 2007
@Stateful
| @Scope(SESSION)
| @Name("usermessage2")
| public class UserComments implements Serializable, UserDisplay1 {
| private static final long serialVersionUID = 1L;
| @DataModel
| private List userList2;
|
| @DataModelSelection
| @Out(required=false)
| private TblComments1 message;
|
| @PersistenceContext
| private EntityManager em;
| long productid=1001;
| @Factory("userList2")
|
im using the above code
but it giving me error Could not create Component: usermessage2
can any one give me suggestion
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063954#4063954
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063954
More information about the jboss-user
mailing list