| ... |
... |
@@ -3,12 +3,13 @@ |
| 3 |
3 |
## space: $spaceDoc <br /> |
| 4 |
4 |
## children: $spaceDoc.getChildren() |
| 5 |
5 |
|
| 6 |
|
-#set($query = 'select app.title, app.description, app.private, app.maintainers from Document doc, doc.object(ExternalApps.Code.ExternalAppsClass) as app') |
|
6 |
+##set($query = 'select app.title, app.description, app.private, app.maintainers from Document doc, doc.object(ExternalApps.Code.ExternalAppsClass) as app') |
|
7 |
+ |
|
8 |
+#set($query = 'where doc.object(ExternalApps.Code.ExternalAppsClass)') |
| 7 |
7 |
#set($apps = $services.query.xwql($query).addFilter('hidden').execute()) |
| 8 |
8 |
|
| 9 |
|
-#foreach($app in $apps) |
| 10 |
|
- $app |
| 11 |
|
- $app.title |
|
11 |
+#foreach($application in $apps) |
|
12 |
+ $xwiki.getDocument($application) |
| 12 |
12 |
#end |
| 13 |
13 |
|
| 14 |
14 |
#* |