/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

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
  2. "http://www.w3.org/TR/html4/strict.dtd">
  3. <html>
  4. <head>
  5. <title>File Picker Demo</title>
  6. <style type="text/css">
  7. @import "../../../dojo/resources/dojo.css";
  8. @import "../../../dijit/tests/css/dijitTests.css";
  9. </style>
  10. <!-- required: a default dijit theme: -->
  11. <link id="themeStyles" rel="stylesheet" href="../../../dijit/themes/tundra/tundra.css">
  12. <!-- the additional styles for the widget -->
  13. <link id="widgetStyle" rel="stylesheet" href="../FilePicker/FilePicker.css">
  14. <!-- required: dojo.js -->
  15. <script type="text/javascript" src="../../../dojo/dojo.js"
  16. djConfig="parseOnLoad: true, isDebug: true, useCommentedJson: true"></script>
  17. <!-- not needed, for testing alternate themes -->
  18. <script type="text/javascript" src="../../../dijit/tests/_testCommon.js"></script>
  19. <script type="text/javascript">
  20. dojo.require("dojox.widget.FilePicker");
  21. dojo.require("dojox.data.FileStore");
  22. </script>
  23. </head>
  24. <body class="tundra">
  25. <h1>
  26. Demo: File Browser widget using dojox.data.FileStore
  27. </h1>
  28. <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>
  29. <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>
  30. <hr>
  31. <div dojoType="dojox.data.FileStore" url="../../data/demos/stores/filestore_dojotree.php" jsId="fileStore" pathAsQueryParam="true"></div>
  32. <div dojoType="dojox.widget.FilePicker" jsId="myPicker" id="myPicker" style="width: 50%;" store="fileStore" query="{}"></div>
  33. </body>
  34. </html>