[jboss-user] [JBoss Seam] - Re: Exceptions in page param converters

adamw do-not-reply at jboss.com
Thu Oct 25 16:34:43 EDT 2007


It probably is related to this issue :).

However, I didn't have @BypassInterceptors, so that I could have some values injected (I had @In EntityManager entityManager). Now that I removed it, I have to lookup the entity manager manually. But how can I do that?

Writing:

  | EntityManager entityManager = (EntityManager) Contexts.lookupInStatefulContexts("entityManager");
  | 
in the method returns null. And the @In version worked, except for the message.

Thanks,
Adam

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

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



More information about the jboss-user mailing list