[jboss-cvs] jboss-seam/examples/dvdstore/resources/WEB-INF ...

Norman Richards norman.richards at jboss.com
Fri Jan 4 16:58:25 EST 2008


  User: nrichards
  Date: 08/01/04 16:58:25

  Modified:    examples/dvdstore/resources/WEB-INF   pages.xml
                        urlrewrite.xml
  Log:
  clean up the URLs a bit more
  
  Revision  Changes    Path
  1.18      +3 -0      jboss-seam/examples/dvdstore/resources/WEB-INF/pages.xml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: pages.xml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/dvdstore/resources/WEB-INF/pages.xml,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -b -r1.17 -r1.18
  --- pages.xml	4 Jan 2008 03:39:23 -0000	1.17
  +++ pages.xml	4 Jan 2008 21:58:25 -0000	1.18
  @@ -5,6 +5,9 @@
          
       <page view-id="/dvd.xhtml" 
             action="#{search.selectFromRequest}"> 
  +
  +        <param name="id" value="#{search.selectedId}"/> 
  +
           <navigation from-action="#{search.addToCart}">
               <redirect view-id="/dvd.xhtml"/>
           </navigation>
  
  
  
  1.2       +6 -2      jboss-seam/examples/dvdstore/resources/WEB-INF/urlrewrite.xml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: urlrewrite.xml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/dvdstore/resources/WEB-INF/urlrewrite.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- urlrewrite.xml	4 Jan 2008 03:39:23 -0000	1.1
  +++ urlrewrite.xml	4 Jan 2008 21:58:25 -0000	1.2
  @@ -5,13 +5,17 @@
           <from>^/dvd/(\d+)$</from>
           <to last="true">/dvd.seam?id=$1</to>
       </rule>
  -
       <rule>
           <from>^/([/a-zA-Z]*)$</from>
           <to last="true">/$1.seam</to>
       </rule>
       
       <outbound-rule>
  +        <from>/dvd.seam\?id=(\d+)&amp;(.*)</from>
  +        <to>/dvd/$1?$2</to>
  +    </outbound-rule>
  +    
  +    <outbound-rule>
           <from>/dvd.seam\?id=(\d+)</from>
           <to>/dvd/$1</to>
       </outbound-rule>
  
  
  



More information about the jboss-cvs-commits mailing list