[xwiki-users] Groovy syntax for $xwiki.jsfx.use

2014-05-09 Thread Nicolas Jouanin
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@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Groovy syntax for $xwiki.jsfx.use

2014-05-09 Thread Caleb James DeLisle
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@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
 
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Groovy syntax for $xwiki.jsfx.use

2014-05-09 Thread Nicolas Jouanin
Thanks for your help, I missed that.

 Le 9 mai 2014 à 11:46, Caleb James DeLisle c...@cjdns.fr a écrit :
 
 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@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Stéphane LASSIRE est en congés

2014-05-09 Thread Stéphane LASSIRE

Je serai absent(e) à partir du  09/05/2014 de retour le 12/05/2014.

je suis en congés.
Je répondrai à vos messages dès mon retour.
En cas de problème technique lié aux progiciels du CESAP, veuillez
contacter SYNOX au 05 67 34 66 56.
Merci

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Macro registration

2014-05-09 Thread Paul Pinkerton (ACLCO)
I use a Menu Macro extensively to provide site navigation on our xwiki
instance (4.2).  I logged in today and found that I am getting an error
stating that the macro is no longer registerered.  While I am working to
figure out what happened to cause this on our end, can someone enlighten
me as to how to re-register it simply so that I can at least get back to
the site being useful?

Paul Pinkerton
KnowledgeNow Project Lead

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users