<
From version < 102.1 >
edited by Simon Urli
on 2019/06/11
To version < 103.1 >
edited by Simon Urli
on 2019/06/11
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -101,6 +101,10 @@
101 101  
102 102  As you might have realized already, direct binding of parameters is not supported at the moment. That is, you cannot access //greetUser// parameter with **$greetUser**. Instead you must use **$xcontext.macro.params.greetUser**. We plan to introduce some form of direct parameter binding in near future.
103 103  
104 +Since {{info}}11.5RC1{{/info}}, it is also possible to display the content of a macro parameter by using a dedicated macro:
105 +{{code language="none"}}Hello {{wikimacroparameter name="greeUsers" /}}
106 +{{code}}
107 +
104 104  Finally, we can test our new version of **hello macro** with the following invocation:
105 105  
106 106  {{code language="none"}}
... ... @@ -114,7 +114,7 @@
114 114  #set ($greet = true)
115 115  {{hello greetUser="$greet"/}}
116 116  {{/velocity}}
117 -{{/code}}
121 +{{/code}}{{/code}}
118 118  
119 119  == Translations ==
120 120  

Get Connected