Well, thanks for the fast answer but what do you mean by "executing external
to JSF"?
Why isn't my backing bean inside the JSF lifecycle?


Mike Kienenberger wrote:
> 
> I'm changing this to the [EMAIL PROTECTED] 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 <[EMAIL PROTECTED]> 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.
>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Re%3A-Access-to-context-of-HTTP-session-tf3657743.html#a10219687
Sent from the MyFaces - Users mailing list archive at Nabble.com.

Reply via email to