From 7df272063ba2167d797bda383680bfcf648418f8 Mon Sep 17 00:00:00 2001 From: jsdelfino Date: Sun, 17 Apr 2011 22:13:58 +0000 Subject: Add a few sample and test apps. Refactor some of the utility components and adjusted apps to use them. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1094208 13f79535-47bb-0310-9956-ffa450edef68 --- .../modules/edit/apps/shoppingcart/app.composite | 577 +++++++++++++++++++++ .../trunk/modules/edit/apps/shoppingcart/app.html | 72 +++ 2 files changed, 649 insertions(+) create mode 100644 sca-cpp/trunk/modules/edit/apps/shoppingcart/app.composite create mode 100644 sca-cpp/trunk/modules/edit/apps/shoppingcart/app.html (limited to 'sca-cpp/trunk/modules/edit/apps/shoppingcart') diff --git a/sca-cpp/trunk/modules/edit/apps/shoppingcart/app.composite b/sca-cpp/trunk/modules/edit/apps/shoppingcart/app.composite new file mode 100644 index 0000000000..8cec2914ba --- /dev/null +++ b/sca-cpp/trunk/modules/edit/apps/shoppingcart/app.composite @@ -0,0 +1,577 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + getcart + + + + + + + + + + + + message + + + + + + message + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + total + + + + + 2.99 + + + + + + Mango + + + + + + Passion + + + + + 3.55 + + + + + 1.55 + + + + + + + + + + + + + + + + + catalog + + + + + + + + + + + fruit + + + + + + + + + + + cataloghtml + + + + + fruit + + + + + + + + + + + fruit + + + + + fruit + + + + + getcart + + + + + + + + + + + + + + + + + + carthtml + + + + + emptyCart + + + + + Your order has been processed. Your total: ${1} + + + + + sum + + + + + getcart + + + + + ${1} - {0} + + + + + + + + + + + + + + + + + + + + + + total + + + + + carthtml + + + + + + cart + + + + + + + + + + + + + + + + + + + putresult + + + + + + Kiwi + + + + + + delresult + + + + + price + + + + + + total + + + + + + + + + + + + + + + + + + + + + + + order + + + + + + + + + + + carthtml + + + + + + + + + + + total + + + + + order + + + + + + + + + + + <span id="fruit" class="checkbox"><input type="checkbox" value="{0}"/>${1} - {0}</span> + + + + + catalog + + + + + + catalog + + + + + fruit + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + total + + + + + + + + + + + + + + + + + + + Welcome to my online store + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + xmppsca.2@gmail.com + + + + + + + + + + + + + + + + + + + + + + sendresult + + + + + + + + + + + + + + + + + + + xmppsca.1@gmail.com + + + + + xmpp4sca + + diff --git a/sca-cpp/trunk/modules/edit/apps/shoppingcart/app.html b/sca-cpp/trunk/modules/edit/apps/shoppingcart/app.html new file mode 100644 index 0000000000..4a7bc1557b --- /dev/null +++ b/sca-cpp/trunk/modules/edit/apps/shoppingcart/app.html @@ -0,0 +1,72 @@ + + +
+ + Welcome + + + Your Cart: + + + Catalog + + + + + + + + + + + +
list
...
+
+ + + + + + + + + + +
list
...
+
+ +

Shopping Cart

+
+ + + + + + + + + + + $ + + + 0 + +
-- cgit v1.2.3