antoine SEILLES wrote: > Hi, > > My new problem: > now javascript works but i need to have a global variable. > So i need a velocity template that would be load only once. > I've tried global.vm and menuview.vm but they seem to be load for all page.
A set of variables are defined in "albatross/xwikivars.vm". They are reset for each page view/edit actions indeed. For a global variable, one possibily is to define it as an attribute of a class. Another option is to define it directly in your plugin. Cheers Stéphane -- Stéphane Laurière [EMAIL PROTECTED] XWiki http://www.xwiki.com http://concerto.xwiki.com http://nepomuk.semanticdesktop.org _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

