From jeremie.bousquet@gmail.com Tue May 13 14:19:25 2014 From: Jeremie BOUSQUET To: xwiki-users@xwiki.org Subject: Re: [xwiki-users] Using parameter macro in the js extension Date: Tue, 13 May 2014 16:19:17 +0200 Message-ID: In-Reply-To: <53722686.80902@cjdns.fr> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4903374944049323061==" --===============4903374944049323061== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit 2014-05-13 16:04 GMT+02:00 Caleb James DeLisle : > This depends a lot on how the javascript is loaded... > > If you're including it using $xwiki.jsx.use() then it won't have the same > context because it's a different HTTP request. If you use the macro and > then > do a {{velocity}} macro with an {{html}} macro and a