Changes for page Tree Macro
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
on 2016/04/01 11:48
Change comment:
Install extension [org.xwiki.platform:xwiki-platform-tree-macro-8.0]
To version 12.1
edited by Ludovic Dubost
on 2023/04/25 09:12
on 2023/04/25 09:12
Change comment:
Migrated property [type] from class [XWiki.WikiMacroParameterClass]
Summary
-
Objects (1 modified, 2 added, 0 removed)
Details
- XWiki.WikiMacroClass[0]
-
- Macro code
-
... ... @@ -5,6 +5,7 @@ 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) 8 8 #set ($content = $xcontext.macro.content) 9 9 #if ("$!content" == '' && $xcontext.action == 'edit' && $editor == 'wysiwyg') 10 10 #set ($content = "$services.icon.render('chart_organisation') $services.localization.render('tree.macro.editModeWarning')")
- XWiki.WikiMacroParameterClass[12]
-
- Parameter default value
-
... ... @@ -1,0 +1,1 @@ 1 +15 - 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. The tree passes this parameter to the tree source so it works only with dynamic trees whose source implements child count limit. - Parameter mandatory
-
... ... @@ -1,0 +1,1 @@ 1 +No - Parameter name
-
... ... @@ -1,0 +1,1 @@ 1 +limit
- XWiki.WikiMacroParameterClass[13]
-
- 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. This has no effect on static trees. - Parameter mandatory
-
... ... @@ -1,0 +1,1 @@ 1 +No - Parameter name
-
... ... @@ -1,0 +1,1 @@ 1 +exclusions