<
From version < 35.3 >
edited by Vincent Massol
on 2011/12/01
To version < 36.1 >
edited by Vincent Massol
on 2012/04/05
>
Change comment: Link to the Velocity Module

Summary

Details

Page properties
Content
... ... @@ -31,7 +31,9 @@
31 31  
32 32  You can also gain direct access to XWiki components using the following code snippet (also see: [[Accessing components from Groovy>>DevGuide.WritingComponents#HAccessingacomponentfromgroovy]]):
33 33  
34 -{{info}}This snippet is written in Groovy and will have to be converted to your scripting language.{{/info}}
34 +{{info}}
35 +This snippet is written in Groovy and will have to be converted to your scripting language.
36 +{{/info}}
35 35  
36 36  {{code language="java"}}
37 37  {{groovy}}
... ... @@ -78,16 +78,8 @@
78 78  
79 79  For more information about programming in the Velocity language, you can refer to the [[Velocity User Guide>>http://velocity.apache.org/engine/releases/velocity-1.6.2/user-guide.html]].
80 80  
81 -The following Velocity tools are also available in addition to the bindings.
83 +For more details on using Velocity check the [[Velocity Module Documentation>>extensions.Extension.Velocity Module]] which also contains the full list of Velocity Tools that you can use in your scripts.
82 82  
83 -* [[List Tool>>http://velocity.apache.org/tools/releases/1.4/javadoc/org/apache/velocity/tools/generic/ListTool.html]]: **##$listtool##**
84 -* [[Number Tool>>http://velocity.apache.org/tools/releases/1.4/javadoc/org/apache/velocity/tools/generic/NumberTool.html]]: **##$numbertool##**
85 -* [[Comparison Date Tool>>http://velocity.apache.org/tools/releases/1.4/javadoc/org/apache/velocity/tools/generic/ComparisonDateTool.html]] (extends [[Date Tool>>http://velocity.apache.org/tools/releases/1.4/javadoc/org/apache/velocity/tools/generic/DateTool.html]]): **##$datetool##**
86 -* [[Math Tool>>http://velocity.apache.org/tools/releases/1.4/generic/MathTool.html]]: **##$mathtool##**
87 -* [[Escape Tool>>http://velocity.apache.org/tools/releases/1.4/generic/EscapeTool.html]]: **##$escapetool##**
88 -* [[Sort Tool>>http://velocity.apache.org/tools/releases/1.4/javadoc/org/apache/velocity/tools/generic/SortTool.html]]: **##$sorttool##**
89 -* Message Tool: **##$msg##** This tool is used to provide internationalized messages based on keys. For more details see the [[How to Write Internationalized Applications tutorial>>DevGuide.InternationalizingApplications]].
90 -
91 91  {{info}}
92 92  If you wish to add new Velocity tools you'll need to edit your ##xwiki.properties## file and follow the instructions in there.
93 93  {{/info}}
... ... @@ -162,7 +162,9 @@
162 162  
163 163  = Groovy Specific Information =
164 164  
165 -{{info}}Currently all non Velocity scripting languages are only allowed users having Programming Rights.{{/info}}
159 +{{info}}
160 +Currently all non Velocity scripting languages are only allowed users having Programming Rights.
161 +{{/info}}
166 166  
167 167  * See Groovy snippets in the [[Extensions wiki>>extensions:Main.WebHome]] (click on the "Groovy" tag in the Tag Cloud)
168 168  * [[Groovy web site>>http://groovy.codehaus.org/]]

Get Connected