MediatorMap not hearing my stage?

krflash's Avatar


10 May, 2012 09:56 PM

Hey Shaun,

I am having another stumbling block getting updated. I have a view mapped to a mediator and the mediator's constructor or initialize method never gets called. This is a flex project. I am using the mxml context tag builder.
I tried to set the context view but no luck. Mapping: IAppView ).toMediator( AppViewMediator );

        context.extend( ContextViewExtension )
        context.extend( StageSyncExtension );
        context.extend( CommandMapExtension );
        context.extend( ViewManagerExtension );
        context.extend( MediatorMapExtension );
        context.extend( SignalCommandMapExtension );

Main.mxml is attached so you can see how I am trying to wait for the context to be initialized.
Thanks in advance...going slow today

  1. 1 Posted by krflash on 10 May, 2012 09:58 PM

    krflash's Avatar

    My view to mediate

  2. 2 Posted by krflash on 10 May, 2012 09:59 PM

    krflash's Avatar

    My mediator

  3. Support Staff 3 Posted by Shaun Smith on 10 May, 2012 10:06 PM

    Shaun Smith's Avatar

    Heh, check out the MVCSBundle again. You need something like this in your bundle:


    Which adds the contextView to the ViewManager. Remember, everything is opt-in in RL2 :)

  4. 4 Posted by krflash on 10 May, 2012 10:08 PM

    krflash's Avatar

    oh brain feels like swiss cheese today, thanks

  5. Support Staff 5 Posted by Shaun Smith on 10 May, 2012 10:34 PM

    Shaun Smith's Avatar

    haha, no probs! let me know if you run into anything else.

  6. krflash closed this discussion on 11 May, 2012 12:44 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac