Last modified by Simon Urli on 2023/10/10

From version 93.4
edited by Vincent Massol
on 2017/09/05
Change comment: Update document after refactoring.
To version 94.1
edited by Robert
on 2018/01/03
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.VincentMassol
1 +XWiki.rbr
Content
... ... @@ -96,6 +96,15 @@
96 96  {{hello greetUser="true"/}}
97 97  {{/code}}
98 98  
99 +If you want to call the new version of the **hello macro** with a parameter from a variable you will need to wrap the call in a velocity macro like this:
100 +
101 +{{code language="none"}}
102 +{{velocity}}
103 +#set ($greet = true)
104 +{{hello greetUser="$greet"/}}
105 +{{/velocity}}
106 +{{/code}}
107 +
99 99  == Translations ==
100 100  
101 101  

Get Connected