Changes for page Release Notes for XWiki Enterprise 4.1
Last modified by Thomas Mortagne on 2017/03/24
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -131,11 +131,9 @@ 131 131 {{/code}} 132 132 ))) 133 133 134 -== [[newScriptServiceallowing to access theComponent Managerdirectly from135 -script s>>platform:DevGuide.Scripting||anchor="HXWikiComponentAccess"]]==134 +== Script access to Component Manager == 135 +With the [[new Component Access Script Service>>platform:DevGuide.Scripting||anchor="HXWikiComponentAccess"]] privileged scripts can now easily load components from the Component Manager (XWiki's dependency injection system). This is not available in Velocity because of it's limited capability to load classes. 136 136 137 -Privileged scripts can now easily load components from the Component Manager (XWiki's dependency injection system). This is not available in Velocity because of it's limited capability to load classes. 138 - 139 139 For example:((( 140 140 {{code}} 141 141 {{groovy}} ... ... @@ -144,7 +144,7 @@ 144 144 {{/code}} 145 145 ))) 146 146 147 -== Velocity scripts canpassenumparametersasStrings ==145 +== Velocity interprets Strings in function calls == 148 148 With the [[new Velocity uberspector>>doc:extensions:Extension.Velocity Module||anchor="HMethodArgumentsUberspector"]], Velocity will convert method arguments in string form to formal parameter types when the passed arguments don't match the method signature. 149 149 150 150 For example:(((