Either you use the ModuleMediator with this syntax :
moduleCommandMap.mapEvent( "evenType", TypeCommand );
to map from there the outside module events to inner commands
or
mapRedispatchInternally( "evenType" );
to redirect the event to the inner module eventdispatcher, and then to use the commands declared in the module's context.
Makes perfect sense now !
Eric Priou (not verified) | Mar 19th, 2010 at 7:53 pm
OK, sorry, I've got it.
Either you use the ModuleMediator with this syntax :
moduleCommandMap.mapEvent( "evenType", TypeCommand );
to map from there the outside module events to inner commands
or
mapRedispatchInternally( "evenType" );
to redirect the event to the inner module eventdispatcher, and then to use the commands declared in the module's context.
Makes perfect sense now !