Modifiche per il documento Macros

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

Dalla versione 2.192
modificato da Jip-jan Alunkel
il luglio 14, 01:37
Cambia il commento: Update document after refactoring.
Alla versione 2.190
modificato da Jip-jan Alunkel
il luglio 14, 01:35
Cambia il commento: Update document after refactoring.

Summary

Details

Page properties
Content
... ... @@ -169,8 +169,14 @@
169 169   #end
170 170   #elseif($O_elementData.select-json)
171 171   #if($O_elementData.select-json.keySet())
172 +json
172 172   #set($json = $O_elementData.select-json)
173 173   #else
175 + #set ($queryString = $escapetool.url({
176 + 'xpage': 'plain',
177 + 'outputSyntax': 'plain'
178 + }))
179 +## #set ($json = $xwiki.getURL($O_elementData.select-json, 'get', $queryString))
174 174   #set($json = $xwiki.getDocument($O_elementData.select-json))
175 175   #set($discard = $json.setContentType('application/json'))
176 176