On Apr 17, 2012, at 10:20 PM, Arnaud bourree wrote:

> Hello,
> 
> Yes, you can with
> 
> {{plantuml}}
> ...
> {{velocity}}
> ...
> {{/velocity}}
> ...
> {{/plantuml}}
> 
> macros are executed from in to out

Actually it's the opposite! :)

There's no notion of nested macros. It's up to the outmost macro to decide what 
to do with its content.

So in this case it would be:

{{velocity}}
…
{{plantuml}}
…

This will work since the velocity macro does the following:
* execute velocity on its content
* consider the result as wiki syntax

Thanks
-Vincent

> Regards,
> 
> Arnaud.
> 
> 2012/4/15 Eugen Colesnicov <ecolesni...@gmail.com>:
>> Is it possible to use script variables inside PlantUML macro?
>> I tried:
>> {{velocity}}
>> {{plantuml}}
>> ...
>> {{/plantuml}}
>> {{velocity}}
>> but this method doezn't work. Maybe existing another solution?
>> 
>> --
>> Thanks beforehand
>> Eugen Colesnicov
>> 
>> --
>> View this message in context: 
>> http://xwiki.475771.n2.nabble.com/script-variables-inside-PlantUML-macro-tp7468710p7468710.html
>> Sent from the XWiki- Users mailing list archive at Nabble.com.
>> _______________________________________________
>> users mailing list
>> users@xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
> _______________________________________________
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users

_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to