Changes for page Rangee Index

Last modified by Tobias Wintrich on 2025/06/04 09:20

From version 7.10
edited by Tobias Wintrich
on 2021/09/24 16:44
Change comment: There is no comment for this version
To version 7.37
edited by Tobias Wintrich
on 2021/09/27 14:50
Change comment: There is no comment for this version

Summary

Details

XWiki.WikiMacroClass[0]
Macro code
... ... @@ -9,13 +9,20 @@
9 9  #prepareTreeOptions($options)
10 10  #documentTree($options)
11 11  
12 -<script type='text/javascript'>
12 +{{/html}}
13 13  
14 -document.getElementById("#treeeee").jstree("open_all");
14 +{{tree}}
15 +#foreach ($child in $doc.getChildren())
16 + * [[$child]]
17 + #foreach ($subchild in $xwiki.getDocument($child).getChildren())
18 + ** [[$subchild]]
19 + #foreach ($subsubchild in $xwiki.getDocument($subchild).getChildren())
20 + *** [[$subsubchild]]
21 + #end
22 + #end
23 +#end
24 +{{/tree}}
15 15  
16 -</script>
17 17  
18 -{{/html}}
19 -
20 20  {{/velocity}}
21 21