[jboss-user] [JBoss Seam] - Re: In attribute requires value for component: Register.memb

baz do-not-reply at jboss.com
Mon Aug 14 10:22:19 EDT 2006


Hello,
try

  |     @DataModel(scope=ScopeType.SESSION,)
  |      private List<Member> members;    
  |   
  |      @Factory("members")  
  |       public void getmembers(){
  |                members = em.createQuery(" from members member order by member.joinDate").getResultList();
  |     }
You do not need to do an @In on a datamodel.
Ciao,
Carsten

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3964985#3964985

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3964985



More information about the jboss-user mailing list