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

Gavin King gavin.king at jboss.com
Wed Jun 20 04:23:16 EDT 2007


  User: gavin   
  Date: 07/06/20 04:23:16

  Modified:    src/debug/org/jboss/seam/debug/jsf 
                        SeamDebugPhaseListener.java
  Log:
  split up Lifecycle, much better
  
  Revision  Changes    Path
  1.7       +2 -2      jboss-seam/src/debug/org/jboss/seam/debug/jsf/SeamDebugPhaseListener.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: SeamDebugPhaseListener.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/debug/org/jboss/seam/debug/jsf/SeamDebugPhaseListener.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -b -r1.6 -r1.7
  --- SeamDebugPhaseListener.java	19 Jun 2007 20:11:05 -0000	1.6
  +++ SeamDebugPhaseListener.java	20 Jun 2007 08:23:16 -0000	1.7
  @@ -11,7 +11,7 @@
   import javax.faces.event.PhaseListener;
   import javax.servlet.http.HttpServletResponse;
   
  -import org.jboss.seam.contexts.Lifecycle;
  +import org.jboss.seam.contexts.FacesLifecycle;
   import org.jboss.seam.core.Init;
   import org.jboss.seam.navigation.Pages;
   
  @@ -32,7 +32,7 @@
   
      public void beforePhase(PhaseEvent event)
      {
  -      Lifecycle.setPhaseId( event.getPhaseId() ); //since this gets called before SeamPhaseListener!
  +      FacesLifecycle.setPhaseId( event.getPhaseId() ); //since this gets called before SeamPhaseListener!
         
         FacesContext facesContext = FacesContext.getCurrentInstance();
         String viewId = Pages.getViewId(facesContext);
  
  
  



More information about the jboss-cvs-commits mailing list