LoginForm Mediator is only registered when I click it

Nikos 's Avatar

Nikos

04 Dec, 2010 10:26 AM

I have a problem

I have the following view structure where LoginForm is visible in state1, however the LoginForm Mediator is only registered when I click on a button in the LoginForm. Should it not be so as soon as LoginForm is added to the stage?

Main

 LoginForm   (state1)
  1. 2 Posted by Abel de Beer on 04 Dec, 2010 12:58 PM

    Abel de Beer's Avatar

    Is it already added to the stage when you initialize your RL context? Because then you'll probably just need to mediatorMap.createMediator(LoginForm) manually.

  2. 3 Posted by Nikos on 04 Dec, 2010 01:35 PM

    Nikos 's Avatar

    ah thx

  3. Nikos closed this discussion on 04 Dec, 2010 02:07 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