<
From version < 81.2 >
edited by Denis Gervalle
on 2013/02/19
To version < 81.3 >
edited by Denis Gervalle
on 2013/02/19
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -148,7 +148,7 @@
148 148  
149 149  {code}
150 150  {{velocity output="no"}}
151 - ## get the macro content in a velocity string
151 +## get the macro content in a velocity string
152 152  #set($wikiresult = $xcontext.macro.content)
153 153  ## Add a wrapping div as a sample of the action of this macro
154 154  #set($wikiresult = "(% class='newstyle' %)((($wikiresult)))")
... ... @@ -156,6 +156,7 @@
156 156  #set($xcontext.macro.result = $services.rendering.parse($wikiresult, $xwiki.getCurrentContentSyntaxId()).getChildren())
157 157  {{/velocity}}
158 158  {code}
159 +
159 159  1.1 Troubleshooting
160 160  
161 161  1.1.1 A Pitfall of Optional Parameters

Get Connected