Changes for page Writing XWiki Rendering Macros in wiki pages
Last modified by Simon Urli on 2023/10/10
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
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 inwhich type the parameter value shouldbe convertedin(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) will 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