Changes for page Tree Macro

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

From version 9.1
edited by Ludovic Dubost
on 2019/08/02 10:59
Change comment: Migrated property [contentJavaType] from class [XWiki.WikiMacroClass]
To version 5.1
edited by Ludovic Dubost
on 2016/10/24 00:53
Change comment: Install extension [org.xwiki.platform:xwiki-platform-tree-macro-8.2.1]

Summary

Details

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')")
XWiki.WikiMacroParameterClass[13]
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
Parameter name
... ... @@ -1,1 +1,0 @@
1 -exclusions