Error in Knowledge Base example

Randy Troppmann's Avatar

Randy Troppmann

18 Jan, 2010 11:22 PM

https://robotlegs.tenderapp.com/faqs/framework-core/injection-mappi...

The example code here seems out of date. This line:

commandMap.mapEvent(MyCoolCommand, MyAppDataEvent.DATA_WAS_RECEIVED, MyAppDataEvent);

I believe should be:

commandMap.mapEvent(MyAppDataEvent.DATA_WAS_RECEIVED, MyCoolCommand, MyAppDataEvent);
  1. Support Staff 1 Posted by Shaun Smith on 19 Jan, 2010 01:16 PM

    Shaun Smith's Avatar

    Nicely spotted! I've updated the sample code accordingly. Cheers,

  2. Shaun Smith closed this discussion on 19 Jan, 2010 01:16 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