summaryrefslogtreecommitdiffstats
path: root/sandbox/lresende/sca/samples/store-appengine-webapp/war/store.html
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox/lresende/sca/samples/store-appengine-webapp/war/store.html')
-rw-r--r--sandbox/lresende/sca/samples/store-appengine-webapp/war/store.html53
1 files changed, 0 insertions, 53 deletions
diff --git a/sandbox/lresende/sca/samples/store-appengine-webapp/war/store.html b/sandbox/lresende/sca/samples/store-appengine-webapp/war/store.html
deleted file mode 100644
index cd9cff53a9..0000000000
--- a/sandbox/lresende/sca/samples/store-appengine-webapp/war/store.html
+++ /dev/null
@@ -1,53 +0,0 @@
-<html>
-<head>
-<title>Store</title>
-
-<script type="text/javascript" src="dojo/dojo/dojo.js"></script>
-
-<script type="text/javascript">
- dojo.require("dojo.rpc.JsonService");
-</script>
-
-<script language="JavaScript">
-
- var catalog = new dojo.rpc.JsonService("/catalogAggregator?smd");
-
- var catalogItems;
-
- function catalog_getResponse(items) {
- var catalog = "";
- for (var i=0; i<items.length; i++) {
- var item = items[i].name + ' - ' + items[i].price;
- catalog += '<input name="items" type="checkbox" value="' +
- item + '">' + item + ' <br>';
- }
- document.getElementById('catalog').innerHTML=catalog;
- catalogItems = items;
- }
-
- function init() {
- try {
- catalog.get().addCallback(catalog_getResponse);
- } catch (e) {
- alert(e);
- }
- }
-
-
-</script>
-
-</head>
-
-<body onload="init()">
-<h1>Store</h1>
- <div id="store">
- <h2>Catalog</h2>
- <form name="catalogForm">
- <div id="catalog" ></div>
- <br>
- </form>
-
- <br>
- </div>
-</body>
-</html>