Changes for page XWiki JavaScript API

Last modified by Simon Urli on 2022/09/14

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

Summary

Details

Page properties
Content
... ... @@ -255,7 +255,7 @@
255 255  // 0: wiki,1: Path,1: To,1: My,2: Page
256 256  {{/code}}
257 257  
258 -Starting with 7.2M1 you can also pass a 'provider' as the third argument to {{XWiki.Model.resolve}}. The provider is used to fill missing references, and it is either a function that gets the entity type, an array of entity names or an entity reference.
258 +Starting with 7.2M1 you can also pass a 'provider' as the third argument to ##XWiki.Model.resolve()##. The provider is used to fill missing references, and it is either a function that gets the entity type, an array of entity names or an entity reference.
259 259  
260 260  {{code language="js"}}
261 261  var documentReference = XWiki.Model.resolve('Page', XWiki.EntityType.DOCUMENT, function(type) {

Get Connected