Mapped mediator onRegister never fires

seantheflashguy's Avatar

seantheflashguy

14 Sep, 2011 03:36 PM

Hey Guys,

So, I'm having a really strange problem with a mediator. It is (I believe) correctly mapped in the Context.

mediatorMap.mapView( SlideComponent, SlideComponentMediator );

The problem is that the onRegister method never fires. I've confirmed that other mediators are working. I'm kind of at a loss to what the problem could be.

Are there any obvious (or not so obvious) things I could investigate to resolve this issue? I'm sure it's probably something minor that I may have done incorrectly. I'm also pretty sure this meditator was previously working. I've searched the code quite a bit and tried a few different things to get this working but can't seem to track down the issue.

Any thoughts, suggestions, input, direction or help is greatly appreciated.

Thanks in advance for your time and help!!

Sean

  1. 1 Posted by Stray on 14 Sep, 2011 03:42 PM

    Stray's Avatar

    Almost always the problem is that the view is landing on the stage before the mediator mapping is made. Any chance that's the issue?

  2. 2 Posted by seantheflashguy on 14 Sep, 2011 07:34 PM

    seantheflashguy's Avatar

    Hi Stray,

    Ok, that's good to know!!

    That wasn't the exact issue but definitely pointed me to it. Thanks a ton for your time and the help! Always greatly appreciated!

    Sean

  3. Support Staff 3 Posted by Ondina D.F. on 01 Nov, 2011 05:55 PM

    Ondina D.F.'s Avatar

    What about this issue? If you didn't solve it, don't be shy, show your code :)
    Ondina

  4. Support Staff 4 Posted by Ondina D.F. on 01 Nov, 2011 07:05 PM

    Ondina D.F.'s Avatar

    Closing the discussion. Feel free to reopen it.

  5. Ondina D.F. closed this discussion on 01 Nov, 2011 07:05 PM.

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

Keyboard shortcuts

Generic

? 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