Changes for page Macros

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

From version 2.222
edited by Jip-jan Alunkel
on July 14, 02:28
Change comment: Update document after refactoring.
To version 2.224
edited by Jip-jan Alunkel
on July 14, 02:29
Change comment: Update document after refactoring.

Summary

Details

Page properties
Content
... ... @@ -173,8 +173,7 @@
173 173   #set($json = $O_elementData.select-json)
174 174   #else
175 175   #set($jsondoc = $xwiki.getDocument($O_elementData.select-json))
176 - #set($jsoncontent = $jsontool.serialize($jsondoc.getContent()))
177 -## #set($jsoncontent = $jsontool.fromString($jsontool.serialize($jsondoc.getContent())))
176 + #set($jsoncontent = $jsontool.fromString($jsontool.serialize($jsondoc.getContent())))
178 178   #set($json = $jsontool.parse($jsoncontent))
179 179   #end
180 180   #foreach($key in $json.keySet())