Hi,
I want to display all the pages of a specific space. For that I found the
following code :
#set($docs = $xwiki.getSpaceDocsName('MySpace'))
#foreach ($doc in $docs)
[${doc}]
#end
It works fine but I need more than that (ordering, exclusion...). So I'm
trying to find the same fonctionnality but with a query. I couldn't find
anything at
http://dev.xwiki.org/xwiki/bin/view/Design/XWiki+Query+Language+Specificati…
so I've tried several queries but in vain. I would like to do something like
that :
#set($query="where spaces='MySpace'")
#set($results = $xwiki.searchDocuments($query, 5, 0))
#foreach ($item in $results)
* $item <br/>
#end
Any idea ?
Thanks,
Antonio