I figured it out. The reason for my troubles was that the syntax type
of the Panel was still set to 1.0. Migrating it to 2.0 did fix the
issue.
Cheers - Andy
On Sep 16, 2009, at 7:56 PM, Andreas Schaefer wrote:
I am investigation the possibility to write Panels in
Groovy.
Unfortunately I am not able to figure out:
- if I XWiki would render Groovy script code by itself and if how ?
- If not can I render a Groovy script form another Groovy script ?
BTW I was stuck for a while when trying to create my own
BlogPostTemplate because XWiki would not allow me to run it as
Groovy script even if I gave myself programming rights. But when I
wrote the BlogPostSheet as Groovy class and loaded it inside the
Velocity script of the BlogPostTemplate it worked perfectly. Now I
am wondering why I could not execute the Groovy script if I can
circumvent this restriction so easily.
Cheers - Andy
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs