All of the groovy bindings are the same as the velocity ones
http://platform.xwiki.org/xwiki/bin/view/DevGuide/Scripting#HBindings
So in your case you'll want xwiki.get('jsfx').use()
Note that xwiki.jsfs is a language-provided alias to xwiki.get('jsfx')
In some scripting languages you will need to use the real syntax.
Thanks,
Caleb
On 05/09/2014 11:35 AM, Nicolas Jouanin wrote:
Hi,
Xwiki developer guide specifies that front-end resources can be added from
wiki page using the volicity syntax (for example):
{{velocity}}
$xwiki.jsfx.use("js/scriptaculous/slider.js")
{{/velocity}}
Is there an equivalent using groovy, I mean for method call
$xwiki.jsfx.use() ?
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users