myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Kienenberger" <mkien...@gmail.com>
Subject Re: Access to context of HTTP session
Date Fri, 27 Apr 2007 13:48:08 GMT
I'm changing this to the users@myfaces mailing list.   The dev list is
for working on the MyFaces source code.

FacesContext.getCurrentInstance() is only non-null during the JSF lifecycle.
Apparently you're executing your backing bean code external to JSF.

On 4/27/07, Trumml <Martin.Trummer@systema.info> wrote:
>
> I want to access the HTTP session inside of a backing bean.
> I use jboss-4.0.5 and the attached war file:
> http://www.nabble.com/file/8109/ce.tests.war ce.tests.war
> But FacesContext.getCurrentInstance() always returns null :-(
>
> Can anyone give me some help?
>
> --
> View this message in context: http://www.nabble.com/Access-to-context-of-HTTP-session-tf3657714.html#a10219374
> Sent from the My Faces - Dev mailing list archive at Nabble.com.
>
>

Mime
View raw message