A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Why does FacesContext .getCurrentInstance() return null?
Joined: Aug 04, 2003
Dec 02, 2005 08:40:00
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 ]
I agree. Here's the link:
subject: Why does FacesContext .getCurrentInstance() return null?
[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
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014