Hi,

> On 21 Oct 2016, at 21:40, Dibyendu Das <dibyendu....@gmail.com> wrote:
> 
> Hi,
> 
> I am using this macro in one of my pages:
> 
> {{velocity}}
> {{documents parent="$doc.fullName"/}}
> {{/velocity}}
> 
> However, it doesn't display all child documents of this page. Why is that?

The doc is here:
http://extensions.xwiki.org/xwiki/bin/view/Extension/Document+Tree+Macro#HParameters

As you can see the “parent’ parameter doesn’t seem to exist..

If you wish to display children ,you could use the {{children/}} macro if 
you’re using XWiki 8.3+, see:
http://extensions.xwiki.org/xwiki/bin/view/Extension/Children+Macro/

Otherwise you can use:

{{velocity}}
{{documentTree root="document:$doc.documentReference" /}}
{{/velocity}}

Thanks
-Vincent

> Thanks
_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to