Changes for page Document Tree

Last modified by Ludovic Dubost on 2024/07/22 15:50

From version 4.1
edited by Ludovic Dubost
on 2016/04/01 11:48
Change comment: Install extension [org.xwiki.platform:xwiki-platform-index-tree-macro-8.0]
To version 13.1
edited by Ludovic Dubost
on 2024/07/22 15:50
Change comment: Install extension [org.xwiki.platform:xwiki-platform-index-tree-macro/16.5.0]

Summary

Details

XWiki.WikiMacroClass[0]
Macro code
... ... @@ -6,6 +6,7 @@
6 6   #set ($discard = $options.put($parameterName, $xcontext.macro.params.get($parameterName)))
7 7  #end
8 8  {{html clean="false"}}
9 +#prepareTreeOptions($options)
9 9  #documentTree($options)
10 10  {{/html}}
11 11  {{/velocity}}
Default category
... ... @@ -1,1 +1,0 @@
1 -Navigation
Cached
... ... @@ -1,0 +1,1 @@
1 +No
Asynchronous rendering
... ... @@ -1,0 +1,1 @@
1 +No
Default categories
... ... @@ -1,0 +1,1 @@
1 +Navigation
XWiki.WikiMacroParameterClass[20]
Parameter default value
... ... @@ -1,0 +1,1 @@
1 +15
Parameter name
... ... @@ -1,0 +1,1 @@
1 +limit
Parameter description
... ... @@ -1,0 +1,1 @@
1 +The maximum number of child nodes to display when expanding a parent node for the first time. The rest of the child nodes are accessible through a "more ..." link. This parameter is basically used to paginate the child nodes and thus helps the tree scale when the number of child nodes is large.
Parameter mandatory
... ... @@ -1,0 +1,1 @@
1 +No
XWiki.WikiMacroParameterClass[21]
Parameter name
... ... @@ -1,0 +1,1 @@
1 +exclusions
Parameter description
... ... @@ -1,0 +1,1 @@
1 +The list of nodes to exclude from the tree. The nodes are specified by their id and separated by comma.
Parameter mandatory
... ... @@ -1,0 +1,1 @@
1 +No