Add/Remove view (incl. mediator)

Fabian's Avatar

Fabian

26 Nov, 2009 04:27 PM

Hi there,
how and where do i add/remove a view (incl. mediator)?
E.g. to change a state of my application.

  1. Support Staff 1 Posted by Till Schneidere... on 26 Nov, 2009 04:32 PM

    Till Schneidereit's Avatar

    Hi Fabian,

    Robotlegs doesn't make any prescriptions about that. If your view
    changes in reaction so new data and part of the changes is to create
    new children/ remove old ones, then the view should handle all of that
    itself. If some of these new children need mediators, they will get
    them automatically if you add mappings for them to the mediatorMap.

    hope that helps,
    till

  2. Support Staff 2 Posted by Shaun Smith on 26 Nov, 2009 04:45 PM

    Shaun Smith's Avatar

    Hi Fabian,

    Perhaps this document will be useful:

    http://knowledge.robotlegs.org/faqs/framework-core/injection-mappin...

  3. Support Staff 3 Posted by Shaun Smith on 07 Dec, 2009 02:59 PM

    Shaun Smith's Avatar

    I'm going to mark this issue as Resolved, but if you feel it hasn't been properly addressed please feel free to re-open it.

  4. Shaun Smith closed this discussion on 07 Dec, 2009 02:59 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