Changes for page Macros

Last modified by Jip-jan Alunkel on April 15, 18:09

From version 2.182
edited by Jip-jan Alunkel
on July 14, 01:21
Change comment: Update document after refactoring.
To version 2.176
edited by Jip-jan Alunkel
on July 14, 01:09
Change comment: Update document after refactoring.

Summary

Details

Page properties
Content
... ... @@ -180,11 +180,10 @@
180 180   #set($json = $xwiki.getDocument($O_elementData.select-json))
181 181   #set($discard = $json.setContentType('application/json'))
182 182  
183 - #set($json = $jsontool.serialize($json.getContent()))
184 -$json.class.name
183 +## #set($json = $jsontool.serialize($json.getContent()))
185 185  ##$jsontool.serialize($json)
186 - #set($j = $jsontool.fromString($json))
187 -$j.class.name
185 + #set($discard = $jsontool.fromString($json))
186 +##$json
188 188  create json from page
189 189  
190 190   #end