/public/javascripts/dojo/release/dojo/dojox/widget/tests/test_FilePicker.html
http://enginey.googlecode.com/ · HTML · 44 lines · 30 code · 10 blank · 4 comment · 0 complexity · 2d47a98e2d3587031af81130600d56de MD5 · raw file
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
- "http://www.w3.org/TR/html4/strict.dtd">
- <html>
- <head>
- <title>File Picker Demo</title>
- <style type="text/css">
- @import "../../../dojo/resources/dojo.css";
- @import "../../../dijit/tests/css/dijitTests.css";
- </style>
- <!-- required: a default dijit theme: -->
- <link id="themeStyles" rel="stylesheet" href="../../../dijit/themes/tundra/tundra.css">
-
- <!-- the additional styles for the widget -->
- <link id="widgetStyle" rel="stylesheet" href="../FilePicker/FilePicker.css">
-
- <!-- required: dojo.js -->
- <script type="text/javascript" src="../../../dojo/dojo.js"
- djConfig="parseOnLoad: true, isDebug: true, useCommentedJson: true"></script>
-
- <!-- not needed, for testing alternate themes -->
- <script type="text/javascript" src="../../../dijit/tests/_testCommon.js"></script>
- <script type="text/javascript">
- dojo.require("dojox.widget.FilePicker");
- dojo.require("dojox.data.FileStore");
- </script>
- </head>
- <body class="tundra">
- <h1>
- Demo: File Browser widget using dojox.data.FileStore
- </h1>
- <p>The picker below uses the dojox.data.FileStore and a PHP implementation for the serverside to browse the dojo tree hierarchy in a lazy-load fashion.</p>
- <p><i><b>This demo must be run from a web-server with PHP support enabled. Without PHP support, this demo cannot function.</b></i></p>
- <hr>
- <div dojoType="dojox.data.FileStore" url="../../data/demos/stores/filestore_dojotree.php" jsId="fileStore" pathAsQueryParam="true"></div>
- <div dojoType="dojox.widget.FilePicker" jsId="myPicker" id="myPicker" style="width: 50%;" store="fileStore" query="{}"></div>
- </body>
- </html>