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...
Senior Developer
FX
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...
Senior Developer
FX
646.268.9949

