[jboss-cvs] jboss-seam/src/main/org/jboss/seam/jsf ...

Gavin King gavin.king at jboss.com
Fri Nov 3 18:38:27 EST 2006


  User: gavin   
  Date: 06/11/03 18:38:27

  Modified:    src/main/org/jboss/seam/jsf  AbstractSeamPhaseListener.java
  Log:
  fixed breakage of conversation list
  
  Revision  Changes    Path
  1.21      +7 -1      jboss-seam/src/main/org/jboss/seam/jsf/AbstractSeamPhaseListener.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: AbstractSeamPhaseListener.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/jsf/AbstractSeamPhaseListener.java,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -b -r1.20 -r1.21
  --- AbstractSeamPhaseListener.java	3 Nov 2006 22:47:24 -0000	1.20
  +++ AbstractSeamPhaseListener.java	3 Nov 2006 23:38:27 -0000	1.21
  @@ -150,13 +150,19 @@
         else //if the page actions did not call responseComplete()
         {
            FacesMessages.instance().beforeRenderResponse();
  -         Manager.instance().prepareBackswitch(event);
  +         //do this both before and after render, since conversations 
  +         //and pageflows can begin during render
  +         Manager.instance().prepareBackswitch(facesContext); 
         }
         
      }
      
      protected void afterRender(FacesContext facesContext)
      {
  +      //do this both before and after render, since conversations 
  +      //and pageflows can begin during render
  +      Manager.instance().prepareBackswitch(facesContext);
  +      
         ExternalContext externalContext = facesContext.getExternalContext();
         Manager.instance().endRequest( ContextAdaptor.getSession(externalContext, true) );
         Lifecycle.endRequest(externalContext);
  
  
  



More information about the jboss-cvs-commits mailing list