Changes for page Children Macro
Last modified by administrator BDP on 2025/07/30 15:29
From version 7.1
edited by administrator BDP
on 2025/07/30 15:19
on 2025/07/30 15:19
Change comment:
Migrated property [executionIsolated] from class [XWiki.WikiMacroClass]
To version 1.2
edited by administrator BDP
on 2017/07/06 11:18
on 2017/07/06 11:18
Change comment:
Updated parent field.
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 1 removed)
Details
- Page properties
-
- Parent
-
... ... @@ -1,1 +1,1 @@ 1 -Ma in.AllDocs1 +xwiki:IFM Help Plaform.AllDocs
- XWiki.WikiMacroClass[0]
-
- Macro code
-
... ... @@ -1,5 +1,3 @@ 1 1 {{velocity}} 2 -## Escape special characters in the macro parameter value. 3 -#set ($sort = $xcontext.macro.params.sort.replaceAll('([~"])', '~$1')) 4 -{{documentTree root="document:" sortDocumentsBy="$!sort" /}} 2 +{{documentTree root="document:$doc.documentReference" /}} 5 5 {{/velocity}} - Default category
-
... ... @@ -1,0 +1,1 @@ 1 +navigation - Macro description
-
... ... @@ -1,1 +1,1 @@ 1 -Displays a tree of children page sof the current page1 +Displays a tree of children page of the current page - 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[0]
-
- Parameter description
-
... ... @@ -1,1 +1,0 @@ 1 -The document field used to sort the child documents, followed optionally by the sort order. E.g.: 'title' or 'date:desc'. - Parameter mandatory
-
... ... @@ -1,1 +1,0 @@ 1 -No - Parameter name
-
... ... @@ -1,1 +1,0 @@ 1 -sort - Parameter type
-
... ... @@ -1,1 +1,0 @@ 1 -org.xwiki.index.tree.internal.macro.DocumentSort