| ... |
... |
@@ -2,15 +2,15 @@ |
| 2 |
2 |
|
| 3 |
3 |
{{velocity}} |
| 4 |
4 |
{{html}} |
| 5 |
|
-## space: $spaceDoc <br /> |
| 6 |
|
-## children: $spaceDoc.getChildren() |
|
5 |
+space: $spaceDoc <br /> |
|
6 |
+children: $spaceDoc.getChildren() |
| 7 |
7 |
|
|
8 |
+<hr> |
|
9 |
+ |
| 8 |
8 |
#foreach($child in $spaceDoc.getChildren()) |
| 9 |
|
- #set($childDoc = $xwiki.getDocument($child)) |
| 10 |
|
- <div> |
| 11 |
|
- <h3>$childDoc.display('title')</h3> |
| 12 |
|
- <a href="$childDoc.display('url')">$childDoc.display('url')</a> |
| 13 |
|
- </div> |
|
11 |
+$zz = $doc($child) |
|
12 |
+ $xwiki.getDocument($child).getPlainTitle() |
|
13 |
+ $child.display('URL')<br> |
| 14 |
14 |
#end |
| 15 |
15 |
{{/html}} |
| 16 |
16 |
{{/velocity}} |