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:((( ... ... @@ -173,7 +173,7 @@ 173 173 174 174 Customizers can be registered to alter the Groovy script as it is compiled such as filtering System.exit() calls and adding timeout checks to loops to prevent infinite looping. Learn more: http://www.jroller.com/melix/entry/upcoming_groovy_goodness_automatic_thread 175 175 176 -=== Stop run-away Groovyscripts after a configurable timeout ===174 +=== Stop run-away scripts after a configurable timeout === 177 177 178 178 You can now configure your wiki to stop Groovy scripts after a configurable amount of run time. For example if you wish to have a timeout of 10 seconds for your XWiki runtime, you'd configure xwiki's ##xwiki.properties## with: 179 179 ... ... @@ -182,7 +182,7 @@ 182 182 groovy.customizer.timedInterrupt.timeout=10 183 183 {{/code}} 184 184 185 -== New support for "shortform"HQL queries in the Query Manager ==183 +== Shorthand HQL queries in the Query Manager == 186 186 187 187 When you send a search query to the Query Manager such as {{code language="none"}}where doc.creationDate > '2008-01-01'{{/code}} It is now assumed that you meant: 188 188