Modifications pour le document Macros

Modifié par Jip-jan Alunkel le avril 15, 18:09

Depuis la version 2.167
modifié par Jip-jan Alunkel
sur juillet 14, 00:18
Commentaire de modification : Update document after refactoring.
À la version 2.159
modifié par Jip-jan Alunkel
sur juillet 13, 23:38
Commentaire de modification : Update document after refactoring.

Résumé

Détails

Propriétés de la Page
Contenu
... ... @@ -170,16 +170,11 @@
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())
175 + #set($json = $xwiki.getDocument($O_elementData.select-json))
176 +$json
181 181  $jsontool.serialize($json)
182 -##$json
183 183  not json
184 184  
185 185   #end