Re: [xwiki-users] Parsing XWiki Syntax inside Macro

2012-03-27 Thread Vincent Massol
On Mar 27, 2012, at 10:13 AM, Grüner Heinrich wrote: > Hi Vincent, > in my api "parse" returns a List and parseXDOM returns a XDOM. > But I am still on 3.1 release. Ok that's why. In 3.1 this component was private (it has an "internal" part in the package name),this means you're not supposed t

Re: [xwiki-users] Parsing XWiki Syntax inside Macro

2012-03-27 Thread Vincent Massol
Hi Stefan, On Mar 27, 2012, at 9:24 AM, Stefan Bernsdorf wrote: > Hi Vincent, > > thanks for replying. > There is a typo in your example. You have to remove .getChildren() in the > code. > > > List > blocks = this.contentParser.parse(content, context, true, > context.isInline()).getCh

Re: [xwiki-users] Parsing XWiki Syntax inside Macro

2012-03-26 Thread Vincent Massol
Hi Stefan On Mar 26, 2012, at 11:43 PM, Grüner Heinrich wrote: > Hi, > i want the content of my Macro to be parsed as XWiki Syntax. > How would that be possible. > I cant find no parsing Method in AbstractMacro. When I want to extend > AbstractScriptMacro then the initializing of the macro fail

[xwiki-users] Parsing XWiki Syntax inside Macro

2012-03-26 Thread Grüner Heinrich
Hi, i want the content of my Macro to be parsed as XWiki Syntax. How would that be possible. I cant find no parsing Method in AbstractMacro. When I want to extend AbstractScriptMacro then the initializing of the macro fails. Thanks, Stefan. ___ user