Re: ComponentEventResultProcessor for a triggered event

2012-09-18 Thread llama-king
Just coming back to clock in on this; what a chump I am! The tapestry5-jquery project already provides a mixin named Bind that does exactly what I was trying to achieve. Seems like I was on the right track! There are a couple of niceties that I'd like to contribute given both the implementations w

Re: ComponentEventResultProcessor for a triggered event

2012-08-21 Thread llama-king
Regarding explicit use of RenderCommand; yes - this was clearly pent-up paranoia! Checked the response and it looked good as I was writing and then came across a happy little solution! >Anyway, if you want to update a zone, you shouldn't use jQuery.ajax() >directly, but use the ZoneManager Java

Re: ComponentEventResultProcessor for a triggered event

2012-08-21 Thread Thiago H de Paula Figueiredo
On Tue, 21 Aug 2012 09:24:10 -0300, llama-king wrote: Hi Thiago! Hi! Thanks for the reply. The outset is I'm writing a mixin that allows binding of client-side jQuery events to server-side handler methods. 1. I create a Link via ComponentResources.createEventLink and pass the absolu

Re: ComponentEventResultProcessor for a triggered event

2012-08-21 Thread llama-king
Hi Thiago! Thanks for the reply. The outset is I'm writing a mixin that allows binding of client-side jQuery events to server-side handler methods. 1. I create a Link via ComponentResources.createEventLink and pass the absolute URI to my mixin script as well as the name of the jQuery event I wa

Re: ComponentEventResultProcessor for a triggered event

2012-08-21 Thread Thiago H de Paula Figueiredo
On Tue, 21 Aug 2012 07:51:37 -0300, llama-king wrote: Hello, Hi! I'm not sure what you're trying to do at a higher level. It would be easier for us to help if you say that instead of just asking why some code doesn't work, specially when source of ComponentResultProcessorWrapper isn'