> I did.  That system supports application global events, no?  

Yes.

> I want to use hierarchy-scoped events.  If I send a "refresh the data model" 
> or "follow this link" event, I don't want notify every possible listener in 
> the application.  I want to notify an ancestor.

It's up to your application to wire the listeners up correctly. If you only 
want ancestors to listen for a particular message, register only those 
instances as listeners for a particular message type.

>  For example, I may have n data models.  Or different components may have 
> different interpretations of "follow this link".


Messages are just instances of an arbitrary class. If you need to filter them 
based on some criteria, you can simply add the necessary properties to your 
class (e.g. "sourceComponent").

Reply via email to