Changes for page Treeview
Last modified by Ludovic Dubost on 2023/04/25 09:12
From version 16.1
edited by Ludovic Dubost
on 2010/11/03 01:22
on 2010/11/03 01:22
Change comment:
There is no comment for this version
To version 14.1
edited by Ludovic Dubost
on 2010/11/03 01:21
on 2010/11/03 01:21
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=" 2" /}}2 +{{treeview page="Test.TestParent1" maxdepth="3" /}}
- XWiki.WikiMacroClass[0]
-
- Macro code
-
... ... @@ -21,7 +21,7 @@ 21 21 #end 22 22 #end 23 23 #set($sql = "select doc.fullName, doc.parent from XWikiDocument as doc where doc.parent in ('${parentlist}')") 24 -#foreach($res in $xwiki.search($sql, 40, 0))24 +#foreach($res in $xwiki.search($sql, 0, 40)) 25 25 #set($page = $listtool.get($res, 0)) 26 26 #if($page!="") 27 27 #set($parent = $listtool.get($res, 1))