Current Lifecycle implementation violates JSF Spec 1.1
------------------------------------------------------

         Key: MYFACES-628
         URL: http://issues.apache.org/jira/browse/MYFACES-628
     Project: MyFaces
        Type: Bug
    Versions: 1.1.0    
    Reporter: Holger Schimanski
    Priority: Blocker


If a PhaseListener.beforePhase() calles FacesContext.renderResponse() or 
FacesContext.responseComplete(), then the LifeCycleImpl should not execute the 
functionality required for the current phase. (see JSF Spec 1.1 section 11-1 
page 296f.)  LifeCycleImpl is not taking care about this. 

This is important for us, because we'd like to make a redirect in the before 
render response phase. And at the moment an Illegal State exception is thrown, 
because the renderResponse is executed although responseComplete has been 
called.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to