> On 24 Oct 2016, at 19:15, Vincent Massol <vinc...@massol.net> wrote:
> 
> 
>> On 24 Oct 2016, at 19:14, Dibyendu Das <dibyendu....@gmail.com> wrote:
>> 
>> Thanks for the suggestion. But I am need a livetable display, how would I
>> go about that?
> 
> You can use the {{documents/}} macro and the “location” parameter.

Ah actually this is what you were using, I misread :)

So you need to use the “location” parameter instead of the “parent” one.

See http://extensions.xwiki.org/xwiki/bin/view/Extension/Documents+Macro (I’ve 
updated it).

Thanks
-Vincent

> 
> Thanks
> -Vincent
> 
>> On Fri, Oct 21, 2016 at 3:44 PM, Vincent Massol <vinc...@massol.net> wrote:
>> 
>>> 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