Announcement Announcement Module
No announcement yet.
Documentation not clear Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Documentation not clear

    Trying to use events as much as I can and trying to model app using springactionscript and using cairngorm 3, what is the equivalent for the following snippet of code in

    		public function onSaveResult(result:*, event:SaveContactEvent):void
    			status="Contact saved.";
    			dispatchEvent(new Event(SAVED));
    		public function onSaveFault(result:*, event:SaveContactEvent):void
    			status="Unable to save contact.";
    in ?

    The 'CreateUserCommand' example in springactionscript documentation is very unclear, particularly if I need to use EventBus. I mean who calls the execute() for this command? Also how is the result sent to model with reference to above code snippet?