| Subject: | Re: CFGRID refresh and Flash Remoting Services |
|---|---|
| From: | "ws_richland" <webforumsuser@xxxxxxxxxxxxxx> |
| Date: | Thu, 6 Sep 2007 21:46:41 +0000 (UTC) |
| Newsgroups: | macromedia.coldfusion.flash_integration |
Guess you found it by now, but here is a method that will return a response
from a CFC if the connection fails:
var responseHandler = {};
//put the controls in scope to avoid calling _root
var contactList = contactList;
responseHandler.onResult = function( results: Object ):Void {
//when results are back, populate the cfgrid
contactList.dataProvider = results;
}
responseHandler.onStatus = function( stat: Object ):Void {
//if there is any error, show an alert
alert("Error while calling cfc:" + stat.description);
}
//get service
myService = connection.getService("flashRemotingResponder",
responseHandler );
//make call
myService.getMembers();
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: CFGRID Refresh/Reload, ws_richland |
|---|---|
| Next by Date: | Remoting with CFC, guitarMB |
| Previous by Thread: | Re: CFGRID Refresh/Reload, ws_richland |
| Next by Thread: | Remoting with CFC, guitarMB |
| Indexes: | [Date] [Thread] [Top] [All Lists] |