diff options
author | lresende <lresende@13f79535-47bb-0310-9956-ffa450edef68> | 2012-06-16 18:14:02 +0000 |
---|---|---|
committer | lresende <lresende@13f79535-47bb-0310-9956-ffa450edef68> | 2012-06-16 18:14:02 +0000 |
commit | 85d8389c908fee32cdc69e164e9db016eb5669ff (patch) | |
tree | 19cb31efeef2012fc9a1afaf2d0a243d4b079425 /sca-java-2.x/trunk/samples/applications/store/src/main/resources | |
parent | 9b335d1eec8f9844d481999c7d3a9ea4dc2d0c89 (diff) |
Updating store sample to use new widget implementation way to define how the resources are exposed without using explicit binding configuration
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1350975 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/samples/applications/store/src/main/resources')
-rw-r--r-- | sca-java-2.x/trunk/samples/applications/store/src/main/resources/store.composite | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/sca-java-2.x/trunk/samples/applications/store/src/main/resources/store.composite b/sca-java-2.x/trunk/samples/applications/store/src/main/resources/store.composite index f018751670..bb60f96a7a 100644 --- a/sca-java-2.x/trunk/samples/applications/store/src/main/resources/store.composite +++ b/sca-java-2.x/trunk/samples/applications/store/src/main/resources/store.composite @@ -23,13 +23,10 @@ name="store"> <component name="Store"> - <tuscany:implementation.widget location="uiservices/store.html"/> - <service name="Widget"> - <tuscany:binding.rest uri="/store"/> - </service> + <tuscany:implementation.widget location="uiservices/store.html" widgetUri="/store"/> <reference name="catalog" target="Catalog"/> - <reference name="shoppingCart" target="ShoppingCart/Cart"/> - <reference name="shoppingTotal" target="ShoppingCart/Total"/> + <reference name="shoppingCart" target="ShoppingCart/Cart"/> + <reference name="shoppingTotal" target="ShoppingCart/Total"/> </component> <component name="Catalog"> |