Demo: File Browser widget using dojox.data.FileStore

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.

This demo must be run from a web-server with PHP support enabled. Without PHP support, this demo cannot function.


OKCancel
EXPERIMENTAL: dojox.widget.RollingList -- APIs subject to change without notice.
DEPRECATED: dojox.widget._RollingListGroupPane::attr() is deprecated. Use get() or set() instead, called from function(_49,_4a){ if(_4a>0){ this._removeAfter(_4a-1); } this.inherited(arguments); if(!_49._started){ _49.startup(); } _49.attr("minWidth",this.minPaneWidth); this.layout(); if(!this._savedFocus){ _49.focus(); } } -- will be removed in version: 2.0
DEPRECATED: dijit.MenuItem::attr() is deprecated. Use get() or set() instead, called from function(_70,_71){ var _72=this.store; if(!_70||!_72||!_72.isItem(_70)){ var i=new dijit.MenuItem({label:"---",disabled:true,iconClass:"dojoxEmpty",focus:function(){ }}); this._updateClass(i.domNode,"Item"); return i; }else{ var _73=_72.isItemLoaded(_70); var _74=_73?this.getChildItems(_70):undefined; var _75; if(_74){ _75=this.getMenuItemForItem(_70,_71,_74); _75.children=_74; this._updateClass(_75.domNode,"Item",{"Expanding":true}); if(!_75._started){ var c=_75.connect(_75,"startup",function(){ this.disconnect(c); dojo.style(this.arrowWrapper,"display",""); }); }else{ dojo.style(_75.arrowWrapper,"display",""); } }else{ _75=this.getMenuItemForItem(_70,_71,null); if(_73){ this._updateClass(_75.domNode,"Item",{"Single":true}); }else{ this._updateClass(_75.domNode,"Item",{"Unloaded":true}); _75.attr("disabled",true); } } _75.store=this.store; _75.item=_70; if(!_75.label){ _75.attr("label",this.store.getLabel(_70).replace(/</,"&lt;")); } if(_75.focusNode){ var _76=this; _75.focus=function(){ if(!this.disabled){ try{ this.focusNode.focus(); } catch(e){ } } }; _75.connect(_75.focusNode,"onmouseenter",function(){ if(!this.disabled){ _76._updateClass(this.domNode,"Item",{"Hover":true}); } }); _75.connect(_75.focusNode,"onmouseleave",function(){ if(!this.disabled){ _76._updateClass(this.domNode,"Item",{"Hover":false}); } }); _75.connect(_75.focusNode,"blur",function(){ _76._updateClass(this.domNode,"Item",{"Focus":false,"Hover":false}); }); _75.connect(_75.focusNode,"focus",function(){ _76._updateClass(this.domNode,"Item",{"Focus":true}); _76._focusedPane=_71; }); if(this.executeOnDblClick){ _75.connect(_75.focusNode,"ondblclick",function(){ _76._onExecute(); }); } } return _75; } } -- will be removed in version: 2.0