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 开发者_如何学Cshould 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
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
精彩评论