I answered too fast, I know what's missing: how do you integrate your
data with the macro.
I'll add that information once I find out how it works... ;-)
Thanks
-Vincent
On Apr 26, 2007, at 9:09 AM, Vincent Massol wrote:
Hi Roopesh,
On Apr 26, 2007, at 8:20 AM, roopesh(a)digitalglue.in wrote:
Hi
In my xwiki, I am displaying the list of documents in a space
using the code given below. I want to paginate the listing if the
list is very big.
{{{
#foreach($subdoc in $xwiki.getSpaceDocsName("$doc.web"))
- [${subdoc}]
#end
}}}
I came across a macro that does pagination #pagedViewLinks
(itemsPerPage totalPages crtPageNumber)
ref ->
http://www.xwiki.org/xwiki/bin/view/Code/PagedViewLinksMacro
How can I get this macro work in my case ?
What is missing from the documentation you pointed?
We need to know so that we can improve it as you're supposed to be
able to use the macro just by reading the documentation :)
Thanks
-Vincent