When in try to inject a FacesContext variable in a stateless bean I get the following
message:
Caused by: org.jboss.seam.RequiredException: In attribute requires value for component:
login.fc
And bellow is part of the code:
anonymous wrote : @Stateless
| @Name("login")
| public class LoginAction implements Login {
| @In FacesContext fc;
if I remove the "@In FacesContext fc" declaration and replace inside the method
fc = FacesContext.getCurrentInstance();
everything works fine.
Any tip?
Ricardo Memoria
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3981489#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...