Changes for page Macros
Modificado por Jip-jan Alunkel em abril 15, 18:09
From version 2.198
edited by Jip-jan Alunkel
on julho 14, 01:46
on julho 14, 01:46
Change comment:
Update document after refactoring.
To version 2.195
edited by Jip-jan Alunkel
on julho 14, 01:42
on julho 14, 01:42
Change comment:
Update document after refactoring.
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -173,13 +173,12 @@ 173 173 #else 174 174 #set($jsondoc = $xwiki.getDocument($O_elementData.select-json)) 175 175 #set($discard = $jsondoc.setContentType('application/json')) 176 - #set($json = $jsontool.serialize($jsondoc.getContent())) 177 - #set($j = $jsontool.fromString($json)) 178 -#set($assign = "$escapetool.getHash()set($ map= $j)")176 + #set($jsoncontent = $jsontool.serialize($jsondoc.getContent())) 177 + #set($j = $jsontool.fromString($jsoncontent)) 178 +#set($assign = "$escapetool.getHash()set($json = $j)") 179 179 #evaluate($assign) 180 180 181 -$map.CET 182 -#set($json = $map) 181 +$json.CET 183 183 create json from page 184 184 185 185 #end