26 Apr
2007
26 Apr
'07
6:20 a.m.
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 ? Thanks and Regards Roopesh