Hi Sergiu
Can you give me and example using xmlhttprequest ?
My idea is to execute a java function in my plugin only when i click in a
submit button
Thanks
Bruno
Sergiu Dumitriu-2 wrote:
MikSan wrote:
Hi guys!
Here is a quick question that I hope gets a quick answer.=)
I have a Java Script var and a velocity var and what I want to do on the
macro.vm file is:
VelocityVar = JavaScriptVar
Anyone know if this is possible being one on server side and the other on
client side? And if possible how?
Not directly, as velocity is executed on the server long before the
javascript starts to execute on the client. You can send an
xmlhttprequest back to the server, or use a form to post data.
--
Sergiu Dumitriu
http://purl.org/net/sergiu/
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs