Changes for page XWiki JavaScript API

Last modified by Simon Urli on 2022/09/14

<
From version < 32.1 >
edited by Marius Dumitru Florea
on 2015/07/16
To version < 32.3 >
edited by Marius Dumitru Florea
on 2015/07/16
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -232,9 +232,9 @@
232 232  });
233 233  {{/code}}
234 234  
235 -= Work with Entity References =
235 += Work with Entity References {{info}}(Since 4.2M1){{/info}} =
236 236  
237 -Starting with XWiki 4.2M1 you can resolve and serialize Entity References on the client side easily:
237 +You can resolve and serialize Entity References on the client side easily:
238 238  
239 239  {{code language="js"}}
240 240  var documentReference = XWiki.Model.resolve('wiki:Space.Page', XWiki.EntityType.DOCUMENT);
... ... @@ -244,7 +244,7 @@
244 244  
245 245  You can check the full API [[here>>https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-web/src/main/webapp/resources/uicomponents/model/entityReference.js]].
246 246  
247 -Starting with XWiki 7.2M1 the {{XWiki.Model}} JavaScript API is supporting nested spaces:
247 +Starting with XWiki 7.2M1 the ##XWiki.Model## JavaScript API is supporting nested spaces:
248 248  
249 249  {{code language="js"}}
250 250  var documentReference = XWiki.Model.resolve('wiki:Path.To.My.Page', XWiki.EntityType.DOCUMENT);

Get Connected