Changes for page Scripting
Last modified by Simon Urli on 2023/10/10
From version 65.1
edited by Vincent Massol
on 2020/04/03
on 2020/04/03
Change comment:
There is no comment for this version
To version 65.2
edited by Vincent Massol
on 2020/04/03
on 2020/04/03
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -151,7 +151,7 @@ 151 151 152 152 Velocity is currently the only scripting language which can be used without Programming [[platform:AdminGuide.Access Rights]]. This means you can save Velocity scripts using a user with less permissions and nobody will be able to exploit your script to perform a security breach. 153 153 154 -You can [[gain access to the XWiki core>> Documentation.DevGuide.WebHome#HXWikiCoreAccess]] from Velocity but this will require Programming Rights. Strictly speaking, protected APIs are only available when the page that contains them was last saved by someone who had Programming Rights (see above).154 +You can [[gain access to the XWiki core>>#HXWikiCoreAccess]] from Velocity but this will require Programming Rights. Strictly speaking, protected APIs are only available when the page that contains them was last saved by someone who had Programming Rights (see above). 155 155 156 156 In Velocity you can't import classes and as such you cannot gain direct access to XWiki components as shown [[above>>Documentation.DevGuide.WebHome#HXWikiComponentAccess]]. This leaves you with the provided [[bindings>>Documentation.DevGuide.WebHome#HBindings]] (NOTE: In Velocity, these bindings all start with **##$##** as with all other Velocity variables) 157 157 ... ... @@ -167,7 +167,7 @@ 167 167 168 168 == Velocity Macros == 169 169 170 - [[VelocityMacros (a.k.a Velocimacros)>>https://velocity.apache.org/engine/devel/user-guide.html#velocimacros]]are a feature of theVelocityengine. XWiki provides [[several suchmacros>>extensions:Extension.Web Resources for XWiki.WebHome]]that you can use in your wiki pages.170 +See [[available Velocity macros>>extensions:Extension.Web Resources for XWiki.WebHome]]. 171 171 172 172 == Other Velocity Variables == 173 173