[xwiki-devs] "Creating plugins" tutorial -- DWR

jvivien.m2 jvivien.m2 jean.vivien.maurice at gmail.com
Tue Oct 23 10:56:47 CEST 2007


Hi all,
- I ve recently modified the "Creating plugins" tutorial. Could someone
check and tell me if my modifs are true and relevant as well ?thanks
- I also wonder : when you call a plugin function from velocity, does it run
with admin priviledges, or with current users priviledges ?
  I use DWR to access my plugin from Javascript as well, and then it seems
it has only guests priviledge (when i do a context.getlocaluser). Also then
the getUrl() functions crash, as well as the getDisplay...() for an object
in a page.
 I would like to have more priviledges when i call my plugin functions
(defined the plugin API class) from Javascript.

No need to say that i will use your feedback to create a page about using
xwiki plugins with dwr.
Thanks a lot !
-- 
Jean-Vivien MAURICE
Elève Ingénieur Informatique et Gestion, Polytech'Montpellier (ISIM)
E-mail : jvivien.m2 at wanadoo.fr
Tél. : 0046 7 62 33 20 46
Skype : jean.vivien
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xwiki.org/pipermail/devs/attachments/20071023/fd035215/attachment.htm 


More information about the devs mailing list