Hi all,
I included this quite simple Groovy script in a XWiki page:
<% println "Hello World"
list = ["Rod", "James", "Chris"]
list.each { println it }
println "${list.size()}" %>
And I get...
Hello World 3
But nothing about printing list.
The same script works fine in groovyConsole being the output:
Hello World
Rod
James
Chris
3
Please, what am I doing wrong? Must I expect that a script working in
groovyConsole do the same in a XWiki page?
Thanks for your help,
Ricardo
--
Ricardo RodrÃguez
Your EPEC Network ICT Team