On Feb 7, 2008, at 2:04 PM, Esbach, Brandon wrote:
Hi,
Groovy and Velocity doesn't really mix anymore with newer versions of
xwiki (actually, for some time now) .
They do I think... You just need to know that velocity executes first
that's all.
-Vincent
If you just need to run some
groovy or check a status, you can use
#set($oUserObject=$xwiki.parseGroovyFromPage("Myspace.MyDoc")),
replacing "Myspace.MyDoc" with the full name of a document where your
script is embedded.
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On
Behalf
Of Hans-Peter Zorn
Sent: 07 February 2008 12:59
To: XWiki Users
Subject: [xwiki-users] Groovy Script in Panel
Hi,
I have the following problem with groovy scripts in a panel:
Even an empty groovy-script, but also simple ones like
#panelheader('test')
<%
print "hallo"
%>
#panelfooter()
are only shown as "groovy.lang.MissingPropertyException: No such
property: panel for class: Script1"
after a while (for some time, it works)
Has anybody seen that before and can maybe give advice?
Thanks,
Hans-Peter
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users