From version 98.3
edited by Vincent Massol
on 2018/11/18
To version 98.4
edited by Vincent Massol
on 2018/11/18
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -79,7 +79,7 @@
79 79  * Parameter description (optional): A short description of the parameter, this description will be made available on the WYSIWYG editor
80 80  * Parameter mandatory: Indicates if this particular parameter is mandatory, wiki macro will fail to execute if a mandatory parameter is missing
81 81  * Parameter default value (optional): {{info}}Since 10.10{{/info}} The default value of the parameter when it's empty
82 -* Parameter type (optional): {{info}}Since 10.10{{/info}} Indicates to which Java type the parameter value (defined as a String) will be converted to (##java.lang.String## by default)
82 +* Parameter type (optional): {{info}}Since 10.10{{/info}} Indicates to which Java type the parameter value (defined as a String) must be converted to (##java.lang.String## by default)
83 83  
84 84  Now we're going to extend our **hello macro** with a parameter. We will introduce a parameter named //greetUser// that will indicate if the greeting message should be tailored for the current user viewing the page. The definition of the parameter is shown below:
85 85  

Get Connected