This content has been marked as final.
Show 3 replies
-
1. Re: Trying to inject FacesContext generates
eddielee Oct 28, 2006 12:09 AM (in response to rmemoria)@Stateless @Name("login") public class LoginAction implements Login { @In FacesContext facesContext;
like this . it' s ok. -
2. Re: Trying to inject FacesContext generates
gavin.king Oct 28, 2006 11:46 AM (in response to rmemoria)Seam does not use knowledge of the type to inject, it uses knowledge of the Seam component name. So it must be
@In FacesContext facesContext;
Or:
@In("facesContext") FacesContext fc; -
3. Re: Trying to inject FacesContext generates
rmemoria Oct 28, 2006 4:22 PM (in response to rmemoria)Now it's working fine...
... I thought SEAM considered the type to inject, but now it's clear.
Thanks a lot.