On Wed, Mar 25, 2015 at 4:09 PM, [email protected] <[email protected]> wrote:
> Hi devs,
>
> I’ve implemented http://jira.xwiki.org/browse/XWIKI-11961
>
> However it’s causing several tests to fail, proving that it’s changing the 
> script behaviors. For example if you have:
>
> {{groovy}}
> var = "toto"
> {{/groovy}}
>
> {{velocity}}
> $var
> {{/velocity}}
>
> Then you’ll see “toto” printed twice. Once for the groovy macro.
>

> The right way to not output content is to use output=false as in:

This makes sense. But if you call print the macro won't print anything
else besides the printed message right?

+0

Thanks,
Marius

>
> {{groovy output="false"}}
> var = "toto"
> {{/groovy}}
>
> {{velocity}}
> $var
> {{/velocity}}
>
> So we need to decide if we’re ok to go with this even though it changes the 
> behavior.
>
> I don’t completely master the full gamut of consequences this will have but I 
> have the feeling that from a logical point of view, it’s the best thing to 
> have.
>
> WDYT?
>
> Thanks
> -Vincent
> _______________________________________________
> devs mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to