cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anto...@apache.org
Subject cvs commit: cocoon-2.1/src/blocks/petstore/samples/view/jxpath Cart.xml
Date Sun, 04 Jul 2004 13:58:20 GMT
antonio     2004/07/04 06:58:20

  Modified:    src/blocks/petstore/samples/view/jxpath Cart.xml
  Log:
  Using format number again
  
  Revision  Changes    Path
  1.6       +3 -3      cocoon-2.1/src/blocks/petstore/samples/view/jxpath/Cart.xml
  
  Index: Cart.xml
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/petstore/samples/view/jxpath/Cart.xml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- Cart.xml	6 Mar 2004 02:25:40 -0000	1.5
  +++ Cart.xml	4 Jul 2004 13:58:20 -0000	1.6
  @@ -23,11 +23,11 @@
                   <item productId="#{item/productId}" id="#{item/itemId}">
                       <desc>#{item/attr1} #{item/attr2} #{item/attr3} #{item/attr4}
#{item/attr5} #{item/product/name}</desc>
                       <quantity>#{quantity}</quantity>
  -                    <listPrice>#{item/listPrice}</listPrice>
  -                    <total>#{total}</total>
  +                    <listPrice><c:formatNumber value="#{item/listPrice}" pattern="###,##0.00"
currencyCode="USD" type="currency"/></listPrice>
  +                    <total><c:formatNumber value="#{total}" pattern="###,##0.00"
currencyCode="USD" type="currency"/></total>
                   </item>
               </c:forEach>
  -            <subTotal label="Sub Total" label1="Total">#{cartForm/cart/subTotal}</subTotal>
  +            <subTotal label="Sub Total" label1="Total"><c:formatNumber value="#{cartForm/cart/subTotal}"
pattern="###,##0.00" currencyCode="USD" type="currency"/></subTotal>
               <c:if test="#{label = 'Checkout Summary'}">
                   <nextpointer img="images/button_continue.gif" do="#{$cocoon/continuation/id}.kont"/>
               </c:if>
  
  
  

Mime
View raw message