DocumentTree Plugin
The document tree plugin builds a tree of child pages. It can be used to show the child pages of a defined page or to show all pages of a space.Installation
Copy the jar-Archive to the %xwikipath%/WEB-INF/lib/ directory of your xwiki installation and add com.xpn.xwiki.plugin.doctree.DocumentTreePlugin to the xwiki.cfg. The DocumentTreePlugin has two main methods to call:$xwiki.doctree.getDocumentTree(rootDocument, sorted) $xwiki.doctree.getSpaceDocumentTree(spaceName, sorted)
Example
To get a Tree with the children of a page, alphabetically sorted nodes:$xwiki.doctree.getDocumentTree($doc)
$xwiki.doctree.getSpaceDocumentTree($doc.web, false)
Version 8.3 last modified by ThomasMortagne on 21/06/2008 at 01:50
Document data
Attachments:
No attachments for this document
Comments: 7