[jboss-user] [JBoss Seam] - Trying to inject FacesContext generates
rmemoria
do-not-reply at jboss.com
Fri Oct 27 23:58:40 EDT 2006
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#3981489
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3981489
More information about the jboss-user
mailing list