diff options
Diffstat (limited to '')
-rw-r--r-- | branches/sca-java-1.x/samples/store-dojo/src/main/resources/uiservices/store.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/branches/sca-java-1.x/samples/store-dojo/src/main/resources/uiservices/store.html b/branches/sca-java-1.x/samples/store-dojo/src/main/resources/uiservices/store.html index e0b44d580e..72d122af94 100644 --- a/branches/sca-java-1.x/samples/store-dojo/src/main/resources/uiservices/store.html +++ b/branches/sca-java-1.x/samples/store-dojo/src/main/resources/uiservices/store.html @@ -21,12 +21,13 @@ <title>Store</title> <script type="text/javascript" src="/dojo/dojo.js"></script> -<script type="text/javascript" src="store.js"></script> <script type="text/javascript"> dojo.require("dojo.rpc.JsonService"); dojo.require("tuscany.AtomService"); </script> +<script type="text/javascript" src="store.js"></script> + <script language="JavaScript"> @@ -127,10 +128,9 @@ } function init() { - try { - catalog.get(catalog_getResponse); - shoppingCart.get("", shoppingCart_getResponse); + catalog.get().addCallback(catalog_getResponse); + shoppingCart.get("").addCallback(shoppingCart_getResponse); } catch(e){ alert(e); |