Details
-
New Feature
-
Resolution: Fixed
-
Major
-
7.3
-
None
Description
We should be able "call" the Document Tree from Velocity using something like this:
#documentTree({ 'class': 'location-tree', 'finder': true, 'showAttachments': false, 'showRoot': $showRoot, 'showTerminalDocuments': false, 'showTranslations': false, 'showWikis': $showWikis })
The same should be possible with the generic Tree Widget:
#tree({ 'reference': 'XWiki.DocumentTree', 'root': 'document:xwiki:Sandbox.WebHome', 'openTo': 'document:xwiki:Sandbox.TestPage2' })
All the parameters that are available for the wiki macros should be available also for the corresponding Velocity macro.