Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -18,9 +18,17 @@ 18 18 * Script macro 19 19 The new script macros add the ability to use any scripting language supporting JSR-223. For now the default XWiki distribution comes with only a groovy 1.6 support but it easy to add support for other language (like ruby, python, etc.) simply by adding the corresponding engine and implementation. See https://scripting.dev.java.net/ 20 20 To use the new script macro: 21 -{code}{{script language="groovy"}}println "Hello World"{{/script}}{code} 21 +{code} 22 +{{script language="groovy"}} 23 + println "Hello World" 24 +{{/script}} 25 +{code} 22 22 or you can use the groovy shortcut: 23 -{code}{{groovy}}println "Hello World"{{/groovy}}{code} 27 +{code} 28 +{{groovy}} 29 + println "Hello World" 30 +{{/groovy}} 31 +{code} 24 24 25 25 Important bug fixes: 26 26