Yes, I think it should be part of tapestry core.

As a nod to jquery you could simply call it "on" :-)

On 15/03/2014, at 6:39 PM, Lance Java wrote:

> It's probably worth mentioning my onevent mixin here.
> 
> http://tapestry-stitch.uklance.cloudbees.net/oneventdemo
> 
> Sorry to toot my own horn but I think it greatly simplifies many ajax
> interactions. It not only allows a context to be passed but it can also
> send a list of clientside field values in the ajax request.
> 
> Currently you can only listen to one event per dom element. It would be
> nice to improve it to attach multiple listeners to multiple a single dom
> element.
> 
> Does anyone else think this should be part of tapestry core?
> 
> NB I think the "onevent" name is ambiguous. It could do with being renamed
> to "observe" or "listen".


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to