Nevermind. I had switched to JSF 1.2 for a bit, and I thought I switched my build back. It works with MyFaces 1.1.3.
 
I'll post this to the sun forum. Sorry for the noise...

Frank Russo
Senior Developer
FX Alliance, LLC

 


From: Frank Russo
Sent: Wednesday, July 12, 2006 11:32 AM
To: MyFaces Discussion
Subject: FacesContext is null in managed bean constructor

I'm trying to access the FacesContext when a session scoped managed bean in being instantiated. Using FacesContext.getCurrentInstance() returns null in this case. Is this the correct behavior, and if so, why? There should be a request at this point, so a valid FacesContext should be available.
 
Thanks...

Frank Russo
Senior Developer
FX Alliance, LLC
900 Third Avenue, 3rd Floor
New York, NY 10022
646.268.9949

 

Reply via email to