Reply to comment

yeah, there are multiple ways to do it: you could also use a startupCommand (in which you would inject the moduleCommandMap) or if you really want to do this in the context itself, just override the setModuleDispatcher() method to store -in the context- a reference of the ModuleCommandMap instance.

But i like to keep the module as a "normal" Robotlegs MVCS (kind of module agnostic) with the all the module-wiring stuff done in the moduleMediator.

admin | Mar 21st, 2010 at 9:56 pm

Reply

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • Each email address will be obfuscated in a human readable fashion or (if JavaScript is enabled) replaced with a spamproof clickable link.

More information about formatting options