[jboss-cvs] jboss-seam/src/pdf/org/jboss/seam/pdf ...

Gavin King gavin.king at jboss.com
Thu Mar 8 21:14:15 EST 2007


  User: gavin   
  Date: 07/03/08 21:14:15

  Modified:    src/pdf/org/jboss/seam/pdf  DocumentStorePhaseListener.java
  Log:
  fix another bug in natural conversation ids
  
  Revision  Changes    Path
  1.6       +2 -1      jboss-seam/src/pdf/org/jboss/seam/pdf/DocumentStorePhaseListener.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: DocumentStorePhaseListener.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/pdf/org/jboss/seam/pdf/DocumentStorePhaseListener.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -b -r1.5 -r1.6
  --- DocumentStorePhaseListener.java	4 Feb 2007 19:10:34 -0000	1.5
  +++ DocumentStorePhaseListener.java	9 Mar 2007 02:14:15 -0000	1.6
  @@ -8,6 +8,7 @@
   import javax.faces.event.PhaseListener;
   import javax.servlet.http.HttpServletResponse;
   
  +import org.jboss.seam.core.Pages;
   import org.jboss.seam.util.Parameters;
   
   
  @@ -27,7 +28,7 @@
   
   
       public void beforePhase(PhaseEvent phaseEvent) {
  -        String rootId = phaseEvent.getFacesContext().getViewRoot().getViewId();
  +        String rootId = Pages.getViewId( phaseEvent.getFacesContext() );
           
           String id = (String)
           Parameters.convertMultiValueRequestParameter(Parameters.getRequestParameters(),
  
  
  



More information about the jboss-cvs-commits mailing list