diff options
author | mensonge | 2008-11-14 15:39:19 +0000 |
---|---|---|
committer | mensonge | 2008-11-14 15:39:19 +0000 |
commit | 1c5685d68f1b73270fb814fe04cbb490eb90ba5f (patch) | |
tree | 3d3ada08a934b96fc31531f1327690d7edc6f766 /includes/js/dojox/data/demos/demo_QueryReadStore_ComboBox.html | |
parent | 104d59099e048688c4dbac37d72137006e396558 (diff) | |
download | scuttle-1c5685d68f1b73270fb814fe04cbb490eb90ba5f.tar.gz scuttle-1c5685d68f1b73270fb814fe04cbb490eb90ba5f.zip |
Minor fix: Remove DOJO library (60Mo) replaced by link to Google CDN (online DOJO library)
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@159 b3834d28-1941-0410-a4f8-b48e95affb8f
Diffstat (limited to 'includes/js/dojox/data/demos/demo_QueryReadStore_ComboBox.html')
-rw-r--r-- | includes/js/dojox/data/demos/demo_QueryReadStore_ComboBox.html | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/includes/js/dojox/data/demos/demo_QueryReadStore_ComboBox.html b/includes/js/dojox/data/demos/demo_QueryReadStore_ComboBox.html deleted file mode 100644 index f6d187f..0000000 --- a/includes/js/dojox/data/demos/demo_QueryReadStore_ComboBox.html +++ /dev/null @@ -1,56 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> -<html> -<head> - <title>Dojox QueryReadStore+ComboBox Demo</title> - <style type="text/css"> - @import "../../../dijit/themes/tundra/tundra.css"; - @import "../../../dojo/resources/dojo.css"; - @import "../../../dijit/tests/css/dijitTests.css"; - </style> - - <script type="text/javascript" src="../../../dojo/dojo.js" djConfig="isDebug:true, parseOnLoad: true"></script> -</head> -<body class="tundra"> - - <h1 class="testTitle">Dojox QueryReadStore + ComboBox demo</h1> - - <h2>Everything is created ONLY in markup</h2> - <div style="float:left;"> - <div dojoType="dojox.data.QueryReadStore" - jsId="store1" - url="../tests/stores/QueryReadStore.php" - requestMethod="post"></div> - <div dojoType="dijit.form.ComboBox" id="cb1" store="store1" pageSize="10"></div> - <button dojoType="dijit.form.Button" onclick="dijit.byId('cb1').reset()">reset</button> - </div> - <div style="float:left; margin-left:5em;"> - var w = dijit.byId("cb1"); - <br /><input id="value1" type="text" /> = w.value - <br /><input id="itemId1" type="text" /> = w.item ? w.store.getValue(w.item, "id") : "-" - <br /><input id="displayedValue1" type="text" /> = w.getDisplayedValue() - <br /><input id="isValid1" type="text" /> = w.isValid() - <br /><button dojoType="dijit.form.Button" onclick="refresh1()">refresh</button> - </div> - - <script type="text/javascript"> - dojo.require("dojox.data.QueryReadStore"); - dojo.require("dijit.form.ComboBox"); - dojo.require("dijit.form.Button"); - - var w = null; - var refresh1 = function() { - dojo.byId("value1").value = w.value; - dojo.byId("itemId1").value = w.item ? w.store.getValue(w.item, "id") : "-"; - dojo.byId("displayedValue1").value = w.getDisplayedValue(); - dojo.byId("isValid1").value = w.isValid(); - }; - dojo.addOnLoad(function() { - w = dijit.byId("cb1"); - dojo.connect(w.domNode, "onkeyup", refresh1); - dojo.connect(w, "onBlur", refresh1); - dojo.connect(w, "onChange", refresh1); - refresh1(); - }); - </script> -</body> -</html> |