Changes for page Scripting
Last modified by Mohammad Humayun Khan on 2021/07/22
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki.Man uelSmeria1 +XWiki.ThomasMortagne - Content
-
... ... @@ -65,16 +65,18 @@ 65 65 66 66 == [[Bindings>>extensions:Extension.Script Macro#HBindings]] == 67 67 68 -These objects areavailable to you in scripting languages.68 +These main objects available to you in scripting languages are: 69 69 70 -* [[The current Document>>http://maven.xwiki.org/site/xwiki-core-parent/xwiki-core/apidocs/com/xpn/xwiki/api/Document.html]]:**##doc##**71 -* [[The Context of the request>>http://maven.xwiki.org/site/xwiki-core-parent/xwiki-core/apidocs/com/xpn/xwiki/api/Context.html]]:**##xcontext##**72 -* [[The Request object>>http://maven.xwiki.org/site/xwiki-core-parent/xwiki-core/apidocs/com/xpn/xwiki/web/XWikiRequest.html]]:**##request##**73 -* [[The Response object>>http://maven.xwiki.org/site/xwiki-core-parent/xwiki-core/apidocs/com/xpn/xwiki/web/XWikiResponse.html]]:**##response##**74 -* [[The XWiki object>>http://maven.xwiki.org/site/xwiki-core-parent/xwiki-core/apidocs/com/xpn/xwiki/api/XWiki.html]]:**##xwiki##**75 -* [[The XWiki utils>>http://maven.xwiki.org/site/xwiki-core-parent/xwiki-core/apidocs/com/xpn/xwiki/api/Util.html]]:**##util##** (this is deprecated)70 +* The current Document: **##doc##** 71 +* The Context of the request: **##xcontext##** 72 +* The Request object: **##request##** 73 +* The Response object: **##response##** 74 +* The XWiki object: **##xwiki##** 75 +* The XWiki utils: **##util##** (this is deprecated) 76 76 * Various [[Script Services>>extensions:Extension.Script Module]]: **##services##** 77 77 78 +See [[Scripting Reference Documentation>>http://platform.xwiki.org/xwiki/bin/view/SRD/Navigation?xpage=embed]] for a complete list. 79 + 78 78 == [[XWiki Component>>extensions:Extension.Component Module]] Access == 79 79 80 80 Since XWiki 4.1M2+ there's a Script Service to access the Component Manager (see also: [[Accessing components from Groovy>>DevGuide.WritingComponents#HFromwikipages]]).