"Interista" wrote : "nickarls" wrote : Just use @In on the entityManager...
  | 
  | I tried that, but keep getting:
  | 
  | 01:41:19,656 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces 
Servlet threw exception
  | org.jboss.seam.RequiredException: @In attribute requires non-null value: 
categoryController.entityManager

Putting @In on 'entityManager' isn't the whole story.   You need to configure 
the Seam-managed persistence context in components.xml.   The Seam docos have a 
bit on how to do that, or you can look some of the Seam examples.

http://docs.jboss.com/seam/latest/reference/en/html/persistence.html#persistence.seam-managed-persistence-contexts

 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123864
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to