Register / Login
Win a copy of
Design for the Mind
this week in the
Why does FacesContext .getCurrentInstance() return null?
posted 10 years ago
I have a
(several actually) in a
application that I need to gain access to the
I noticed that often when I call
.getCurrentInstance() it will return null.
Now, it is my understanding that as long as a JSF page within my application had been called previously, then the
should have been set up. Is this not the case?
Any clues as to why the context is null?
This is driving my nuts!
[ December 02, 2005: Message edited by: Darrin Smith ]
[Resolved] Services as Managed Beans
Using FacesCcntext within Listeners and Filters
How can I access JSF managed bean from JSF converter?
Using imageCropper with JSF and primefaces