Modifiche per il documento Macros
Ultima modifica di Jip-jan Alunkel il aprile 15, 18:09
Dalla versione 2.169
modificato da Jip-jan Alunkel
il luglio 14, 00:28
il luglio 14, 00:28
Cambia il commento:
Update document after refactoring.
Alla versione 2.171
modificato da Jip-jan Alunkel
il luglio 14, 01:02
il luglio 14, 01:02
Cambia il commento:
Update document after refactoring.
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -178,9 +178,11 @@ 178 178 })) 179 179 ## #set ($json = $xwiki.getURL($O_elementData.select-json, 'get', $queryString)) 180 180 #set($json = $xwiki.getDocument($O_elementData.select-json).getContent()) 181 - #set($json = $jsontool.serialize($json)) 181 + #set($discard = $json.setContentType('application/json')) 182 + 183 + #set($json = $jsontool.serialize($json.getContent())) 182 182 ##$jsontool.serialize($json) 183 -$jsontool.fromString($json) 185 +##$jsontool.fromString($json) 184 184 ##$json 185 185 not json 186 186