tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lrese...@apache.org
Subject svn commit: r606195 - in /incubator/tuscany/java/sca/samples/store/src/main: java/services/CurrencyConverterImpl.java resources/ufservices/store.html
Date Fri, 21 Dec 2007 13:40:30 GMT
Author: lresende
Date: Fri Dec 21 05:40:29 2007
New Revision: 606195

URL: http://svn.apache.org/viewvc?rev=606195&view=rev
Log:
Fixing add to cart issue, and checkout action return point.

Modified:
    incubator/tuscany/java/sca/samples/store/src/main/java/services/CurrencyConverterImpl.java
    incubator/tuscany/java/sca/samples/store/src/main/resources/ufservices/store.html

Modified: incubator/tuscany/java/sca/samples/store/src/main/java/services/CurrencyConverterImpl.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/store/src/main/java/services/CurrencyConverterImpl.java?rev=606195&r1=606194&r2=606195&view=diff
==============================================================================
--- incubator/tuscany/java/sca/samples/store/src/main/java/services/CurrencyConverterImpl.java
(original)
+++ incubator/tuscany/java/sca/samples/store/src/main/java/services/CurrencyConverterImpl.java
Fri Dec 21 05:40:29 2007
@@ -38,9 +38,9 @@
     
     public String getCurrencySymbol(String currencyCode) {
         if (currencyCode.equals("USD"))
-            return "$";
+            return "$ ";
         else if (currencyCode.equals("EUR"))
-            return "€";
+            return "€ ";
         return "?";
     }
 }

Modified: incubator/tuscany/java/sca/samples/store/src/main/resources/ufservices/store.html
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/store/src/main/resources/ufservices/store.html?rev=606195&r1=606194&r2=606195&view=diff
==============================================================================
--- incubator/tuscany/java/sca/samples/store/src/main/resources/ufservices/store.html (original)
+++ incubator/tuscany/java/sca/samples/store/src/main/resources/ufservices/store.html Fri
Dec 21 05:40:29 2007
@@ -70,7 +70,7 @@
 		document.getElementById('store').innerHTML='<h2>' +
 				'Thanks for Shopping With Us!</h2>'+
 				'<h2>Your Order</h2>'+
-				'<form name="orderForm" action="/ufs/store.html">'+
+				'<form name="orderForm" action="store.html">'+
 					document.getElementById('shoppingCart').innerHTML+
 					'<br>'+
 					document.getElementById('total').innerHTML+



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org


Mime
View raw message