[jboss-user] [JBoss Seam] - Re: trouble with getting <s:convertEntity /> to work

gothmog do-not-reply at jboss.com
Sat Oct 20 00:12:50 EDT 2007


Here it is :)


  | @Name("items")
  | @Scope(ScopeType.CONVERSATION)
  | public class Items {
  | 
  | 	@Logger Log log;
  | 	@In EntityManager entityManager;
  | 
  | 	private List<Group> groups;
  | 
  | 	@Create
  | 	public void init() {
  | 		log.info("init()");
  | 		groups = entityManager.createQuery("select g from Group g").getResultList();
  | 	}
  | 
  | 	public List<Group> getGroups() {
  | 		return groups;
  | 	}
  | 
  | 	public void setGroups(List<Group> groups) {
  | 		this.groups = groups;
  | 	}
  | }
  | 

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

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



More information about the jboss-user mailing list