I believe there's a similar problem with normal @Submit components inside a @tacos:AjaxForm (I just checked, and in that case neither listener is called.)
I guess that's why we had to add @tacos:AjaxSubmit Anyway, instead of ImageSubmit, you could use <a jwcid="@tacos:AjaxLinkSubmit" listener="listener:test1"><img src="1.jpg"></a> <a jwcid="@tacos:AjaxLinkSubmit" listener="listener:test2"><img src="2.jpg"></a> And perhaps we need to create an AjaxImageSubmit ??? Jonathan Bullkich wrote: > Hi, > > > > I have an AjaxForm with 2 ImageSubmit components in it, each one with > a different listener. > > When I click either one of them, BOTH listeners are invoked, Why is that? > > When using a tapestry Form only the listener of the ImageSubmit that > was clicked is invoked. > > > > Jonathan Bullkich > ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Tacos-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tacos-devel
