Hi Ricardo,
I remember this problem was reported some time ago but unfortunately
nobody has looked into it:
http://jira.xwiki.org/jira/browse/XWIKI-361
We'd like to move to the latest Groovy version in 1.3. Maybe this will
help. Any help would be most welcome.
Thanks
-Vincent
On Jan 27, 2008, at 12:07 AM, [Ricardo Rodriguez] Your EPEC Network
ICT Team wrote:
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
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users