This content has been marked as final.
Show 1 reply
-
1. Re: Unable to get FacesContext
alexsmirnov Dec 2, 2010 2:35 PM (in response to nandhana03)GenericFacesPortlet calls javax.portlet.faces.Bridge implementation that actually performs the same actions as FacesServlet ( it creates and destroys FacesContext, and executes JSF Lifecycle ). GenericFacesPortlet only creates bridge instance ( based on configuration ) and initializes it.
Therefore, FacesContext is not available from Portlet methods, it just not created yet.