:) Say I have 3 AjaxDirectLinks... How do i get notified on responseComplete of the second one?
responseComplete's signature is function(xmlResponseElements) which is not really helpful for users. And it also doesn't contain the id of the triggering component. And even if it did, they would have to do a bit of xml processing to find it, and then they would have to know the id of the second AjaxDirectLink, so that they can check if they're really interested in the event. Jesse Kuhnert wrote: > Ah but you can. Because every parameter passed into the tacos object > methods can also be passed into your dojo.event connected methods. > > On 3/20/06, *Andreas Andreou * <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > While it's true that Bug47 'tacos js needs to define onEvent > emitters' > is not really needed due to the > dojo.event.connect(tacos, "onSomeEvent", ...) > i believe that the updateObject concept cannot be replaced in this > way. > > The problem is that without updateObject, one cannot really > corelate an > ajaxrequest with an ajaxresponse. You easily catch a responseComplete > event, but you cannot know which ajaxrequest triggered it. > > All these became apparent when trying to fix the > ProgressBarExample page. > > > > ------------------------------------------------------- > 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 > <http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642> > _______________________________________________ > Tacos-devel mailing list > Tacos-devel@lists.sourceforge.net > <mailto:Tacos-devel@lists.sourceforge.net> > https://lists.sourceforge.net/lists/listinfo/tacos-devel > > > > > -- > Jesse Kuhnert > Tacos/Tapestry, team member/developer > > Open source based consulting work centered around > dojo/tapestry/tacos/hivemind. http://opennotion.com ------------------------------------------------------- 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 Tacos-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tacos-devel