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

Norman Richards norman.richards at jboss.com
Mon Jan 22 00:02:26 EST 2007


  User: nrichards
  Date: 07/01/22 00:02:26

  Modified:    src/pdf/org/jboss/seam/pdf  DocumentStorePhaseListener.java
  Log:
  fix so that seam-doc.seam works when not at the root level
  
  Revision  Changes    Path
  1.3       +1 -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.2
  retrieving revision 1.3
  diff -u -b -r1.2 -r1.3
  --- DocumentStorePhaseListener.java	20 Jan 2007 07:41:23 -0000	1.2
  +++ DocumentStorePhaseListener.java	22 Jan 2007 05:02:26 -0000	1.3
  @@ -31,7 +31,7 @@
           Parameters.convertMultiValueRequestParameter(Parameters.getRequestParameters(),
                                                        "docId",
                                                        String.class);              
  -        if (rootId.startsWith("/seam-doc")) {            
  +        if (rootId.contains("/seam-doc")) {            
               sendContent(phaseEvent.getFacesContext(), id);
           }
       }
  
  
  



More information about the jboss-cvs-commits mailing list