Modifiche per il documento Macros

Ultima modifica di Jip-jan Alunkel il aprile 15, 18:09

Dalla versione 2.168
modificato da Jip-jan Alunkel
il luglio 14, 00:19
Cambia il commento: Update document after refactoring.
Alla versione 2.157
modificato da Jip-jan Alunkel
il luglio 13, 23:32
Cambia il commento: Update document after refactoring.

Summary

Details

Page properties
Content
... ... @@ -170,17 +170,9 @@
170 170   #elseif($O_elementData.select-json)
171 171   #if($O_elementData.select-json.keySet())
172 172  json
173 - #set($json = $O_elementData.select-json)
173 +#set($json = $O_elementData.select-json)
174 174   #else
175 - #set ($queryString = $escapetool.url({
176 - 'xpage': 'plain',
177 - 'outputSyntax': 'plain'
178 - }))
179 -## #set ($json = $xwiki.getURL($O_elementData.select-json, 'get', $queryString))
180 - #set($json = $xwiki.getDocument($O_elementData.select-json).getContent())
181 -##$jsontool.serialize($json)
182 -$jsontool.fromString($json)
183 -##$json
175 + #set($json = $xwiki.getDocument($O_elementData.select-json))
184 184  not json
185 185  
186 186   #end