Hi,
I’m trying to create a template that features a page tree macro to display the documents below any page created from the template.
Unfortunately, the children macro is not sufficient here as it does not allow to specify an equivalent to the openTo parameter and also does not allow for the removal of attachments and translations.
I have tried adding the following to the page source:
{{velocity}}
{{documentTree showTranslations="false" showAttachments="false" root="$doc.documentReference" openTo="$doc.documentReference"/}}
{{/velocity}}
But that only resulted in
Left side ($childNodeIds.size()) of comparison operation has null value at ost:XWiki.DocumentTree[line 153, column 29]
Is there any way to achieve what I want?
Thanks!