[jboss-user] [JBoss Seam] - Re: One Seam component calling another

sdegardin do-not-reply at jboss.com
Mon Dec 31 22:05:54 EST 2007


"gsegura" wrote : Hi, 
  | it could be just the different variable name:
  | 
  | private EntityManager em;
  | and
  | private EntityManager entityManager;
  | 
  | regards

and if you don't want to use component name has field name, specify the component name in the "value" parameter of the In annotation

@In(value="em") private EntityManager entityManager;

Cheers,

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

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



More information about the jboss-user mailing list