Created
May 12, 2010 12:51
-
-
Save nsdevaraj/398546 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
HomeViewMediator extends AbstractViewMediator (SkinnableComponent). | |
The above code, is to mediate when "ResultSignal" is dispatched. | |
The AbstractSignal was prior dispatched from this view only, to get server Response. | |
The Same signal was sent as argument "signal:SignalVO" | |
Thus, we map it back to make sure about the mediated signal, | |
is response for what was dispatched from the same object | |
AbstractViewMediator initiates on addedToStage event, | |
through [Mediate( event="flash.events.Event.ADDED_TO_STAGE" , properties="target",useCapture="true" )] | |
to achieve the PassiveView. | |
"http://blogs.adobe.com/paulw/archives/2007/11/presentation_pa_6.html". | |
The same event is mediated by every related viewMediators | |
(viewMediators extends SkinnableComponent). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment