antonio 2004/07/04 08:10:55
Modified: src/blocks/petstore/samples/view/jxpath Cart.xml
Log:
Reverting the last change. The numbers formated in the stylesheet.
Preformatting numbers end in "$NaN".
Revision Changes Path
1.7 +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.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- Cart.xml 4 Jul 2004 13:58:20 -0000 1.6
+++ Cart.xml 4 Jul 2004 15:10:55 -0000 1.7
@@ -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><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>
+ <listPrice>#{item/listPrice}</listPrice>
+ <total>#{total}</total>
</item>
</c:forEach>
- <subTotal label="Sub Total" label1="Total"><c:formatNumber
value="#{cartForm/cart/subTotal}" pattern="###,##0.00" currencyCode="USD"
type="currency"/></subTotal>
+ <subTotal label="Sub Total"
label1="Total">#{cartForm/cart/subTotal}</subTotal>
<c:if test="#{label = 'Checkout Summary'}">
<nextpointer img="images/button_continue.gif"
do="#{$cocoon/continuation/id}.kont"/>
</c:if>