Re: [5.4] request from javascript to Tapestry event

2016-02-15 Thread Nathan Quirynen
Thanks for the link. I think I fixed it adding just the following in my request callback function: pageinit.handlePartialPageRenderResponse({ json : r }); On 05/02/16 15:04, Chris Poulsen wrote: Have a look at http://tapestry.apache.org/current/coffeescript/ajax.html

[5.4] request from javascript to Tapestry event

2016-02-05 Thread Nathan Quirynen
Hi, I have finally started the process of updating to 5.4. Some components have an initializer javascript where an eventlink url is passed as a parameter to be used as the url for a request from javascript to a Tapestry event. To handle the response (zone updates, scripts, ..) I added in the

Re: [5.4] request from javascript to Tapestry event

2016-02-05 Thread Chris Poulsen
Have a look at http://tapestry.apache.org/current/coffeescript/ajax.html -- Chris On Fri, Feb 5, 2016 at 2:54 PM, Nathan Quirynen wrote: > Hi, > > I have finally started the process of updating to 5.4. > Some components have an initializer javascript where an

Re: [5.4] request from javascript to Tapestry event

2016-02-05 Thread Chris Poulsen
Faking a "click" on an invisible async eventlink could also be a very simple way to get this working without having to mock around with much javascript. -- Chris On Fri, Feb 5, 2016 at 3:04 PM, Chris Poulsen wrote: > Have a look at