thanks for your swift response! This seems to work quite well, thank you. However I have one problem now: In Robotlegs 1 we were doing this:
mediatorMap.mapView(BuyPopup, BuyPopupMediator, IPopup);
//... some other specific Popup / Mediator combinations
In Robotlegs 1 this results in all Popups having exactly one Mediator. Only popups that would not have a hit against one of the specific combinations would receive a BasePopupMediator. (Note we were using an InterfaceMediatorMap I found online somwhere). So every popup ends up with exactly one Mediator. Only popups that dont have their specific mediator defined will receive a BasePopup Mediator.
I am now trying to recreate the behavior in Robotlegs 2 like this:
Ondina D.F. on 11 Aug, 2017 07:03 AM
Maybe even better than the previous solution:
Let all views that you don't want to be mediated by the DerivedPopupMediator implement yet another interface, a dummy interface, IExceptionView, without functionality. LoginPopup view would implement IPopup and IExceptionView.