Changes for page Treeview
Last modified by Ludovic Dubost on 2023/04/25 09:12
From version 5.1
edited by Ludovic Dubost
on 2010/11/03 01:15
on 2010/11/03 01:15
Change comment:
There is no comment for this version
To version 8.1
edited by Ludovic Dubost
on 2010/11/03 01:18
on 2010/11/03 01:18
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,2 +1,2 @@ 1 1 2 -{{treeview page=" Test.TestParent1" maxdepth="3" /}}2 +{{treeview page="Main.WebHome" maxdepth="1" /}}
- XWiki.WikiMacroClass[0]
-
- Macro code
-
... ... @@ -35,7 +35,7 @@ 35 35 #if($maxdepth) 36 36 #set($maxdepth = 3) 37 37 #end 38 -#foreach($i in 1..$maxdepth) 38 +#foreach($i in [1..$maxdepth]) 39 39 #if($velocityCount==1) 40 40 #addlevel(true) 41 41 #else