Changes for page ExternalApps
Last modified by bougault on 2019/09/12 12:46
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -4,13 +4,16 @@ 4 4 ## children: $spaceDoc.getChildren() 5 5 6 6 #set($query = 'select app.title, app.description, app.url, app.maintainers from Document doc, doc.object(ExternalApps.Code.ExternalAppsClass) as app') 7 -#set($apps = $services.query.xwql($query).addFilter('hidden').execute()) 7 +#set ($apps = $services.query.xwql($query).addFilter('hidden').execute()) 8 8 9 9 #foreach($app in $apps) 10 - #foreach($field in $app) 11 - $field 12 - #end 10 +$app[0] 11 +$app.get('title') 12 +$app[1] 13 +$app.getUrl() 14 +$app['app.url'] 13 13 #end 16 + 14 14 #* 15 15 #foreach($child in $spaceDoc.getChildren()) 16 16 #set($childDoc = $xwiki.getDocument($child))