On Thu, Nov 24, 2016 at 12:09 PM, Pascal BASTIEN
wrote:
>> >
>> > I use this methods,
>> hasParent(EntityReference expectedParent) and i noticed that
>> I can not use string to set EntityReference.
>> > Then i must use this before: "#set
>> ($reference =
>> $services.model.resolveSpace('xwiki:Ency
> >
> > I use this methods,
> hasParent(EntityReference expectedParent) and i noticed that
> I can not use string to set EntityReference.
> > Then i must use this before: "#set
> ($reference =
> $services.model.resolveSpace('xwiki:Encyclopédie'))"
> and "$doc.documentReference.hasParent($reference)
On Thu, Nov 24, 2016 at 10:16 AM, Pascal BASTIEN
wrote:
> Hello xwiki users
>
> I need a little bit of light about reference.
>
> I use this methods, hasParent(EntityReference expectedParent) and i noticed
> that I can not use string to set EntityReference.
> Then i must use this before: "#set ($
Hello xwiki users
I need a little bit of light about reference.
I use this methods, hasParent(EntityReference expectedParent) and i noticed
that I can not use string to set EntityReference.
Then i must use this before: "#set ($reference =
$services.model.resolveSpace('xwiki:Encyclopédie'))" and