What's a good pattern for notifying a child component when an event happens in a parent component?
For example, I have a subclass of Ext.tab.Panel, which is designed to work with Ext.navigation.Views as children (similar to the iPhone App Store).
I want it to notify one of its child items when the selected tab is re-tapped, so the navigation view can reset to its initial view. But I'd like the child to be responsible for knowing how to reset itself.
It seems like I should have the child listen for an event from the parent. But how would I tell the child to add this event listener?