Changes for page Rangee Index
Last modified by Tobias Wintrich on 2025/06/04 09:20
From version 7.36
edited by Tobias Wintrich
on 2021/09/27 14:50
on 2021/09/27 14:50
Change comment:
There is no comment for this version
To version 7.37
edited by Tobias Wintrich
on 2021/09/27 14:50
on 2021/09/27 14:50
Change comment:
There is no comment for this version
Summary
-
Objects (1 modified, 0 added, 0 removed)
Details
- XWiki.WikiMacroClass[0]
-
- Macro code
-
... ... @@ -12,11 +12,13 @@ 12 12 {{/html}} 13 13 14 14 {{tree}} 15 -#foreach ($child in $doc. children)15 +#foreach ($child in $doc.getChildren()) 16 16 * [[$child]] 17 - #set ($childDoc = $xwiki.getDocument($child)) 18 - #foreach ($subchild in $childDoc.children) 17 + #foreach ($subchild in $xwiki.getDocument($child).getChildren()) 19 19 ** [[$subchild]] 19 + #foreach ($subsubchild in $xwiki.getDocument($subchild).getChildren()) 20 + *** [[$subsubchild]] 21 + #end 20 20 #end 21 21 #end 22 22 {{/tree}}