cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From coli...@apache.org
Subject cvs commit: cocoon-2.1/src/scratchpad/webapp/samples/petstore/view/jxpath Cart.xml ConfirmOrder.xml NewOrderForm.xml ViewOrder.xml
Date Sun, 13 Apr 2003 21:52:31 GMT
coliver     2003/04/13 14:52:31

  Modified:    src/scratchpad/webapp/samples/petstore/view/jxpath Cart.xml
                        ConfirmOrder.xml NewOrderForm.xml ViewOrder.xml
  Log:
  fixed syntax errors
  
  Revision  Changes    Path
  1.2       +6 -6      cocoon-2.1/src/scratchpad/webapp/samples/petstore/view/jxpath/Cart.xml
  
  Index: Cart.xml
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/scratchpad/webapp/samples/petstore/view/jxpath/Cart.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- Cart.xml	27 Mar 2003 18:59:23 -0000	1.1
  +++ Cart.xml	13 Apr 2003 21:52:31 -0000	1.2
  @@ -7,12 +7,12 @@
               <jxpath:for-each select="{cartItems}" >
                   <item productId="{item/productId}" id="{item/itemid}"> 
                       <desc>
  -                        <jxpath:value-of select="item/attr1"/> 
  -                        <jxpath:value-of select="item/attr2"/> 
  -                        <jxpath:value-of select="item/attr3"/> 
  -                        <jxpath:value-of select="item/attr4"/> 
  -                        <jxpath:value-of select="item/attr5"/> 
  -                        <jxpath:value-of select="item/product/name"/> 
  +                        <jxpath:value-of select="{item/attr1}"/> 
  +                        <jxpath:value-of select="{item/attr2}"/> 
  +                        <jxpath:value-of select="{item/attr3}"/> 
  +                        <jxpath:value-of select="{item/attr4}"/> 
  +                        <jxpath:value-of select="{item/attr5}"/> 
  +                        <jxpath:value-of select="{item/product/name}"/> 
                       </desc>
                       <price><jxpath:value-of select="{item/listPrice}"/></price>
                       <quantity><jxpath:value-of select="{quantity}"/></quantity>
  
  
  
  1.2       +1 -1      cocoon-2.1/src/scratchpad/webapp/samples/petstore/view/jxpath/ConfirmOrder.xml
  
  Index: ConfirmOrder.xml
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/scratchpad/webapp/samples/petstore/view/jxpath/ConfirmOrder.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ConfirmOrder.xml	27 Mar 2003 18:59:23 -0000	1.1
  +++ ConfirmOrder.xml	13 Apr 2003 21:52:31 -0000	1.2
  @@ -34,7 +34,7 @@
           <nextpointer img="images/button_continue.gif" do="{$continuation/id}.kont?confirmed=true"/>
       </site>
   
  -</xsp:page>
  +</page>
   
   
   
  
  
  
  1.2       +1 -1      cocoon-2.1/src/scratchpad/webapp/samples/petstore/view/jxpath/NewOrderForm.xml
  
  Index: NewOrderForm.xml
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/scratchpad/webapp/samples/petstore/view/jxpath/NewOrderForm.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- NewOrderForm.xml	27 Mar 2003 18:59:23 -0000	1.1
  +++ NewOrderForm.xml	13 Apr 2003 21:52:31 -0000	1.2
  @@ -28,7 +28,7 @@
           </form>
       </site>
   
  -</age>
  +</page>
   
   
   
  
  
  
  1.2       +1 -3      cocoon-2.1/src/scratchpad/webapp/samples/petstore/view/jxpath/ViewOrder.xml
  
  Index: ViewOrder.xml
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/scratchpad/webapp/samples/petstore/view/jxpath/ViewOrder.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ViewOrder.xml	27 Mar 2003 18:59:24 -0000	1.1
  +++ ViewOrder.xml	13 Apr 2003 21:52:31 -0000	1.2
  @@ -35,9 +35,7 @@
                   <field empty="2">
                       <cart name="Status">
                           <jxpath:for-each select="itemList" >
  -                            <item>
  -                                <xsp:attribute name="product-id"><jxpath:value-of
select="item/productId"/></xsp:attribute>
  -                                <xsp:attribute name="id"><jxpath:value-of select="item/itemId"/></xsp:attribute>
  +                            <item product-id="{item/productId}" id="{item/itemId}">
                                   <desc>
                                       <jxpath:value-of select="item/attr1"/> 
                                       <jxpath:value-of select="item/attr2"/> 
  
  
  

Mime
View raw message