[jboss-user] [JBoss Seam] - Re: Seam Pros, Newbie needs help. DataTable

matt.drees do-not-reply at jboss.com
Sun Aug 26 15:43:06 EDT 2007


Instead of 

  | @Factory("users")
  | public List<User> getUsers() {
  | 		
  | 	List<User> retUsers = null;
  | ...
  |         return retUsers;		
  | }
  | 

you probably want something like

  | @Factory("users")
  | public void getUsers() {
  | 		
  | 	List<User> retUsers = null;
  | ...
  |         users = retUsers;		
  | }
  | 

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

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



More information about the jboss-user mailing list