puremvc
|
 |
« Reply #1 on: July 26, 2009, 10:44:42 » |
|
Have the view component that contains the tree handle the ITEM_CLICKED event, investigate the target property and set a public property on the view component exposing a reference to the item clicked. Then send a corresponding event that the mediator is interested in. The mediator looks at the exposed public property on its view component to know what was clicked and doesn't need to know about the tree.
-=Cliff>
|