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