Hi,
I have a question using Cairngorm and Commands. I am new to it but its
making more sense to me each day at least it seems that way.
I have the following in my LoginCommand.as
public function result( data:Object ):void {
var event:ResultEvent = data as ResultEvent;
if (event.result.length > 0) {
model.workflowState = ModelLocator.VIEWING_HOMEPAGE;
}
else {
model.login.statusMsg = "Your login credentials are invalid,
please try again.";
}
}
1. Is there anything wrong with the way I am doing the above?
2. I would like to call some other remote objects so I can populate
some datagrids after the user has been authenticated and then load the
home page of the app as I am doing above.