Conflict in docs for mediating the contextView

elliot's Avatar


01 Sep, 2012 12:37 AM

There's a conflict in these 2 docs: (Mapping the Main Application (contextView) Mediator section)

The Best Practices doc suggests that it's necessary to call mediatorMap.createMediator( contextView ) after mapping the contextView with a Mediator.

The KB article doesn't list the same requirement. It says, "Because the contextView is generally already on stage at the time of mapping, Robotlegs creates a mediator for the contextView immediately as soon as you map it…"

In my test calling the createMediator method is NOT required.

  1. Support Staff 1 Posted by Ondina D.F. on 01 Sep, 2012 09:56 AM

    Ondina D.F.'s Avatar

    Hi Elliot,

    Thanks for noticing that!

    Manually creation of a mediator for the contextView has been made obsolete by this:

    Added automatic creation of mediator for contextView

    I’ve edited the Best Practice Wiki to reflect those changes.

    Are there any other inconsistencies that you've noticed?


  2. Ondina D.F. closed this discussion on 03 Sep, 2012 08:57 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