This content has been marked as final.
Show 4 replies
-
1. Re: Accessing FacesContext within Seam
mwohlf Apr 8, 2009 8:25 AM (in response to oyesiji77)did you try:
FacesContext context = FacesContext.getCurrentInstance();
-
2. Re: Accessing FacesContext within Seam
lelleh Apr 8, 2009 8:56 AM (in response to oyesiji77)Try
@In private FacesContext facesContext;
The context gets @Unwrapped by org.jboss.seam.faces.facesContext
-
3. Re: Accessing FacesContext within Seam
sherkan777 Apr 8, 2009 10:16 AM (in response to oyesiji77)Leiv, this not work in new Seam 2.x
-
4. Re: Accessing FacesContext within Seam
lelleh Apr 8, 2009 10:29 AM (in response to oyesiji77)I've used this both in 2.0.1CR1 and 2.1.1.GA...