Changes for page Tree Macro

Last modified by superadmin on 29.06.2023 12:27

From version 3.1
edited by superadmin
on 29.06.2023 12:27
Change comment: Migrated property [type] from class [XWiki.WikiMacroParameterClass]
To version 1.1
edited by XWiki Admin
on 26.05.2017 08:17
Change comment: Install extension [org.xwiki.platform:xwiki-platform-tree-macro-9.3.1]

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.superadmin
1 +XWiki.Admin
XWiki.WikiMacroClass[0]
Macro code
... ... @@ -5,7 +5,6 @@
5 5  #foreach ($parameterName in $xcontext.macro.params.parameterNames)
6 6   #set ($discard = $options.put($parameterName, $xcontext.macro.params.get($parameterName)))
7 7  #end
8 -#prepareTreeOptions($options)
9 9  #set ($content = $xcontext.macro.content)
10 10  #if ("$!content" == '' && $xcontext.action == 'edit' && $editor == 'wysiwyg')
11 11   #set ($content = "$services.icon.render('chart_organisation') $services.localization.render('tree.macro.editModeWarning')")
Default category
... ... @@ -1,0 +1,1 @@
1 +Navigation
Cached
... ... @@ -1,1 +1,0 @@
1 -No
Asynchronous rendering
... ... @@ -1,1 +1,0 @@
1 -No
Default categories
... ... @@ -1,1 +1,0 @@
1 -Navigation
XWiki.WikiMacroParameterClass[13]
Parameter name
... ... @@ -1,1 +1,0 @@
1 -exclusions
Parameter description
... ... @@ -1,1 +1,0 @@
1 -The list of nodes to exclude from the tree. The nodes are specified by their id and separated by comma. This has no effect on static trees.
Parameter mandatory
... ... @@ -1,1 +1,0 @@
1 -No