Changes for page Macros
Last modified by Jip-jan Alunkel on April 15, 18:09
From version 2.196
edited by Jip-jan Alunkel
on July 14, 01:43
on July 14, 01:43
Change comment:
Update document after refactoring.
To version 2.193
edited by Jip-jan Alunkel
on July 14, 01:38
on July 14, 01:38
Change comment:
Update document after refactoring.
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -171,15 +171,14 @@ 171 171 #if($O_elementData.select-json.keySet()) 172 172 #set($json = $O_elementData.select-json) 173 173 #else 174 - #set($json = {}) 175 175 #set($jsondoc = $xwiki.getDocument($O_elementData.select-json)) 176 176 #set($discard = $jsondoc.setContentType('application/json')) 177 - #set($json content= $jsontool.serialize($jsondoc.getContent()))178 - #set($j = $jsontool.fromString($json content))179 -#set($assign = "$escapetool.getHash()set($ json= $j)")176 + #set($json = $jsontool.serialize($jsondoc.getContent())) 177 + #set($j = $jsontool.fromString($json)) 178 +#set($assign = "$escapetool.getHash()set($map = $j)") 180 180 #evaluate($assign) 181 181 182 -$ json.CET181 +$map.CET 183 183 create json from page 184 184 185 185 #end