Search code examples
robotlegs

How to just execute a command in robotlegs without making him listening for an event?


How to just execute a command in robotlegs without making him listening for an event?

Another way, but not this one: "It is not necessary, and should never be done, to call the execute() method directly. This is the framework implementation’s job."

http://knowledge.robotlegs.org/faqs/reference-mvcs-implementation/how-are-commands-triggered-in-mvcs-implementation


Solution

  • Also, please read the Robotlegs documentation and ASDocs ( http://api.robotlegs.org/ ). If you had, you would have seen this:

    http://api.robotlegs.org/org/robotlegs/core/ICommandMap.html#execute%28%29