Changes for page Macros

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

From version 2.220
edited by Jip-jan Alunkel
on July 14, 02:26
Change comment: Update document after refactoring.
To version 2.216
edited by Jip-jan Alunkel
on July 14, 02:23
Change comment: Update document after refactoring.

Summary

Details

Page properties
Content
... ... @@ -173,9 +173,9 @@
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.fromString($jsontool.serialize($jsondoc.getContent())))
177 -#set($test = $jsontool.parse($jsoncontent))
178 -$test.CET
176 + #set($jsoncontent = $jsontool.fromString($jsontool.serialize($jsondoc.getRenderedContent())))
177 +#set($json = $jsontool.parse($jsoncontent))
178 +$json.CET
179 179  ##set($assign = "$escapetool.getHash()set($map = $jsoncontent)")
180 180  ## #evaluate($assign)
181 181  ## #set($json = $map)