I'm trying to list the children of the current page. According to this post:
http://lists.xwiki.org/pipermail/users/2015-December/031639.html, I believe
this should work, but all I get is "No pages found":
{{velocity}}
{{documentTree root="$doc.documentReference" /}}
{{/velocity}}
If I use {{velocity}} $doc.documentReference {{/velocity}}, the correct
value is returned.
Can anyone tell me what I'm doing wrong or if there is a better way to list
all the children of the current page?
Thanks,
Jared
--
View this message in context:
http://xwiki.475771.n2.nabble.com/Trying-to-use-doc-documentReference-as-th…
Sent from the XWiki- Users mailing list archive at
Nabble.com.