[xwiki-users] Some interrogations about reference

2016-11-24 Thread Pascal BASTIEN
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

Re: [xwiki-users] Some interrogations about reference

2016-11-24 Thread Thomas Mortagne
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 ($

Re: [xwiki-users] Some interrogations about reference

2016-11-24 Thread Pascal BASTIEN
> > > > 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)

Re: [xwiki-users] Some interrogations about reference

2016-11-24 Thread Thomas Mortagne
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

[xwiki-users] Extension Release notes 1.3.1 : releasenotechanges macro

2016-11-24 Thread Yann
Hello, I am new to xwiki (though like it a lot already...), I have installed the release notes extension (1.3.1) but I have a problem with the {{releasenotechanges}} macro. I may not use it properly, but I can't get my changes appear in the release note page. I changed the default macro to use the

[xwiki-users] Fw : Re: Some interrogations about reference

2016-11-24 Thread Pascal BASTIEN
> >> > > >> > 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.docu

[xwiki-users] [ANN] Release of Limits Application 1.2.1.

2016-11-24 Thread Guillaume Delhumeau
Hello A new version of the Limits Application is available. See http://extensions.xwiki.org/xwiki/bin/view/Extension/Limits+Application/#Hv1.2.1 You can install with the Extension Manager. This version fixes an important bug which prevents the user to install the application via the Extension Man

Re: [xwiki-users] Fw : Re: Some interrogations about reference

2016-11-24 Thread Thomas Mortagne
On Thu, Nov 24, 2016 at 2:28 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 = >> >> >> $servi