General Actions:
Log-in
Wiki:
L3D's Wiki
▼
:
Document Index
»
Space:
XWiki
▼
:
Document Index
»
Page:
Treeview
Search
Page Actions:
Export
▼
:
Export as PDF
Export as RTF
Export as HTML
More actions
▼
:
Print preview
View Source
Welcome to your wiki
»
Documents on this Wiki
»
Tree
Wiki source code of
Tree
Last modified by
Administrator
on 2011/03/02 17:34
Content
·
Comments
(0)
·
Attachments
(0)
·
History
·
Information
Hide line numbers
1: {{velocity output="false"}} 2: ## Smartclient 3: $xwiki.jsfx.use('js/smartclient/initsc.js', {'forceSkinAction' : true, 'defer' : false})## 4: $xwiki.jsfx.use('js/smartclient/modules/ISC_Core.js', {'defer' : false})## 5: ## TODO: remove this line 6: ## when http://forums.smartclient.com/showthread.php?t=3097 will be fixed 7: $xwiki.jsfx.use('js/smartclient/overwritesc.js', {'defer' : false})## 8: $xwiki.jsfx.use('js/smartclient/modules/ISC_Foundation.js', {'defer' : false})## 9: $xwiki.jsfx.use('js/smartclient/modules/ISC_Containers.js', {'defer' : false})## 10: $xwiki.jsfx.use('js/smartclient/modules/ISC_Grids.js', {'defer' : false})## 11: $xwiki.jsfx.use('js/smartclient/modules/ISC_Forms.js', {'defer' : false})## 12: $xwiki.jsfx.use('js/smartclient/modules/ISC_DataBinding.js', {'defer' : false})## 13: $xwiki.jsfx.use('js/smartclient/skins/Enterprise/load_skin.js', {'defer' : false})## 14: ## XWikiExplorer 15: $xwiki.jsfx.use('js/xwiki/xwikiexplorer/xwikiexplorer.js', {'forceSkinAction' : true, 'defer' : false})## 16: {{/velocity}} 17: 18: {{html}} 19: <div id="XWEWrapper" style="height:300px;margin-right:20px;padding-bottom:30px;"></div> 20: <script type="text/javascript"> 21: isc.XWETreeGrid.create({ 22: ID: "Treeview", 23: // Example of default values: 24: // defaultValue: "Main.WebHome", 25: // defaultValue: "Main.RecentChanges@lquo.gif", 26: defaultValue: "", 27: htmlElement: "XWEWrapper", // Mandatory HTML wrapper. 28: matchElement: true, // Make the widget match HTML wrapper size. 29: // Example of data sources: 30: // dataSource: isc.XWEDataSource.create({}), 31: // dataSource: isc.XWESpaceDataSource.create({ space: "Main" }), 32: dataSource: isc.XWEWikiDataSource.create({}), 33: displaySuggest: true, // Display the input at the bottom. 34: displayLinks: true, // Node titles are HTML links. 35: displayAttachments: true, // Display pages attachments. 36: displayAttachmentsOnTop: true // Display attachments before page children. 37: }).draw(); 38: </script> 39: {{/html}}
Quick Links
L3D Calendar
Wiki Dashboard
Document Index
Blog
Sandbox