Changes for page Rangee Index

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

From version 7.7
edited by Tobias Wintrich
on 2021/09/24 16:39
Change comment: There is no comment for this version
To version 7.36
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
... ... @@ -7,12 +7,20 @@
7 7  #end
8 8  {{html clean="false"}}
9 9  #prepareTreeOptions($options)
10 -$options
11 11  #documentTree($options)
12 -<script type='text/javascript'>
13 -alert("huhu");
14 -</script>
11 +
15 15  {{/html}}
16 16  
14 +{{tree}}
15 +#foreach ($child in $doc.children)
16 + * [[$child]]
17 + #set ($childDoc = $xwiki.getDocument($child))
18 + #foreach ($subchild in $childDoc.children)
19 + ** [[$subchild]]
20 + #end
21 +#end
22 +{{/tree}}
23 +
24 +
17 17  {{/velocity}}
18 18