> Couldn't Tapestry have some function that adds ordered event handlers to > elements, something like the Command design pattern?
Sure. A dispatcher could be created that holds the handlers and calls them in some defined order (insertion, before:xxx, etc) JQuery appears to at least provide a stable order for events registered with bind. "If there are multiple handlers registered, they will always execute in the order in which they were bound." http://api.jquery.com/bind/ Josh On Thu, Jun 16, 2011 at 12:24 PM, Thiago H. de Paula Figueiredo <thiag...@gmail.com> wrote: > On Thu, 16 Jun 2011 15:44:08 -0300, Josh Canfield <joshcanfi...@gmail.com> > wrote: > >> I have an irrational fear of removing all click handlers from a link. >> I know it's irrational and yet the fear persists... > > Quite understandable. :) > > Couldn't Tapestry have some function that adds ordered event handlers to > elements, something like the Command design pattern? > > -- > Thiago H. de Paula Figueiredo > Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and > instructor > Owner, Ars Machina Tecnologia da Informação Ltda. > http://www.arsmachina.com.br > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org