Re: [xwiki-users] Displaying the pages of a space

2008-05-16 Thread Antonio Goncalves
See below Antonio 2008/5/15 Vincent Massol <[EMAIL PROTECTED]>: > Hi Antonio, > > On May 15, 2008, at 9:42 PM, Antonio Goncalves wrote: > > > Thanks Jean-Vincent it works. Two more questions. > > > > 1) On the API ( > > > http://platform.xwiki.org/xwiki/bin/download/DevGuide/API/xwiki%2Dcore%2D1

Re: [xwiki-users] Displaying the pages of a space

2008-05-15 Thread Vincent Massol
Hi Antonio, On May 15, 2008, at 9:42 PM, Antonio Goncalves wrote: > Thanks Jean-Vincent it works. Two more questions. > > 1) On the API ( > http://platform.xwiki.org/xwiki/bin/download/DevGuide/API/xwiki%2Dcore%2D1.3.2%2Djavadoc.zip/index.html) > it says that the method getWeb is deprecated and t

Re: [xwiki-users] Displaying the pages of a space

2008-05-15 Thread Antonio Goncalves
Thanks Jean-Vincent it works. Two more questions. 1) On the API ( http://platform.xwiki.org/xwiki/bin/download/DevGuide/API/xwiki%2Dcore%2D1.3.2%2Djavadoc.zip/index.html) it says that the method getWeb is deprecated and that we should use getSpace. But when I do the following it doesn't work (doc.

Re: [xwiki-users] Displaying the pages of a space

2008-05-15 Thread Jean-Vincent Drean
On Thu, May 15, 2008 at 6:33 PM, Antonio Goncalves <[EMAIL PROTECTED]> wrote: > > 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) >

[xwiki-users] Displaying the pages of a space

2008-05-15 Thread Antonio Goncalves
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 fonctionnali