Hi,
You can have a look at templates/watch.vm which is called from
templates/menuview.vm by an ajax request.
JV.
On Thu, Aug 14, 2008 at 2:40 PM, bruno
<bruno-a-almeida(a)criticalsoftware.com> wrote:
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
--
View this message in context:
http://n2.nabble.com/Javascript-var-to-Velocity-Var-tp676366p724000.html
Sent from the XWiki- Dev mailing list archive at
Nabble.com.
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs