tag:robotlegs.tenderapp.com,2009-10-18:/discussions/problems/236-mediator-onregister-not-calledRobotlegs: Discussion 2018-10-18T16:35:21Ztag:robotlegs.tenderapp.com,2009-10-18:Comment/45531062011-01-04T11:12:06Z2011-01-04T11:12:08ZMediator onRegister not called<div><p>In my context I have two views. The first view is the main
flex-view for the component, which ahs the context declaration and
it registers fine. However the second view does not register. I
have not forgot ot mistyped the mediator.mapView() nor the override
public function onRegister(). I have tried to shuffle the mapView()
around in the context mapping list. The mapEvent's works fine. It
is just that second view that does not register. I have tried to
add the view to the displaylist both before and after the startup
of the context, but nothing happens.</p>
<p>I just need some hints so I can start debugging this. I have two
contexts in the site which works in their own scopes, but this
shouldn't be any problem as I understand?</p></div>O.M.tag:robotlegs.tenderapp.com,2009-10-18:Comment/45531062011-01-04T13:31:24Z2011-01-04T13:31:25ZMediator onRegister not called<div><p>Aha...</p>
<p>It never occured to me that all the context views must be a
child of the main contextView.<br></p></div>O.M.tag:robotlegs.tenderapp.com,2009-10-18:Comment/45531062011-01-06T13:21:35Z2011-01-06T13:21:35ZMediator onRegister not called<div><p>please close discussion</p></div>Nikos