myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ingo Düppe <mailing-li...@dueppe.com>
Subject Re: managed-beans, spring references, and serializable
Date Mon, 25 Sep 2006 19:43:47 GMT
Well my FacesServlet is mapped to *.jsf and the Acegi Security Filter 
and the OpenSessionInView Filter of Spring wrap my jsf requests :-(
And now?

Ingo

Craig McClanahan schrieb:
>
>
> On 9/25/06, *Ingo Düppe* <mailing-lists@dueppe.com 
> <mailto:mailing-lists@dueppe.com>> wrote:
>
>     Hi Gerald,
>
>     as soon a have a running version, I will setup a wiki page :-)
>
>     But I still have some trouble to get the facescontext.
>
>     My FacesContext.getCurrentInstance() return null. Maybe something is
>     wrong with my application.
>
>
> This is the expected behavior under (at least) two different 
> circumstances:
>
> * The URL you specified is not one that is mapped to FacesServlet
>   (typically that is mapped to "/faces/*" or "*.faces").
>
> * You are trying to do this in a servlet Filter, which is invoked *before*
>   FacesServlet, and therefore before the FacesContext for this request
>   has been created.
>
> Craig
>


Mime
View raw message