This content has been marked as final.
Show 4 replies
-
1. Re: Noob, @In not set
joblini Mar 26, 2009 1:57 AM (in response to dsailer.d.sailer.comcast.net)Hi Dave,
Does this work?
User user = Contexts.getSessionContext().get("user")
-
2. Re: Noob, @In not set
dsailer.d.sailer.comcast.net Mar 26, 2009 2:43 AM (in response to dsailer.d.sailer.comcast.net)yes, it does.
-
3. Re: Noob, @In not set
joblini Mar 26, 2009 3:57 AM (in response to dsailer.d.sailer.comcast.net)And if you remove
@PreUpdate,@PrePersist
and call the method directly?
-
4. Re: Noob, @In not set
dsailer.d.sailer.comcast.net Mar 26, 2009 4:45 PM (in response to dsailer.d.sailer.comcast.net)then it works. So the EJB3 callback happens prior to seam injection. I'm still getting used to all the magic and when it happens. Fortunately
user
is in the session context so I can just grab it there.Thanks!