Re: How to update a Component from Javascript

2011-10-26 Thread Julian Sinai
Hi Martin Thanks for your reply. I've made the changes you suggested, but my ajax update never happens. I think I am missing something in what wicketAjaxGet can do, or how you are supposed to get the callback url. Here's a simplified version of my label class, maybe I'm doing something wrong:

Re: How to update a Component from Javascript

2011-10-26 Thread Martin Grigorov
On Thu, Oct 27, 2011 at 2:44 AM, Julian Sinai jsi...@gmail.com wrote: Hi Martin Thanks for your reply. I've made the changes you suggested, but my ajax update never happens. I think I am missing something in what wicketAjaxGet can do, or how you are supposed to get the callback url. Here's a

Re: How to update a Component from Javascript

2011-10-25 Thread Martin Grigorov
Hi, On Tue, Oct 25, 2011 at 2:15 AM, Julian Sinai jsi...@gmail.com wrote: This should be easy, but I'm striking out... I want to use a new Javascript feature (EventSourcehttp://dev.w3.org/html5/eventsource/, part of HTML5 WebSockets) to push notifications from the server to the browser.

How to update a Component from Javascript

2011-10-24 Thread Julian Sinai
This should be easy, but I'm striking out... I want to use a new Javascript feature (EventSourcehttp://dev.w3.org/html5/eventsource/, part of HTML5 WebSockets) to push notifications from the server to the browser. Getting the basic mechanism to work was easy. What I can't figure out how to do is