Index: lams_common/src/flash/org/lamsfoundation/lams/common/comms/Communication.as =================================================================== diff -u -r6de81de6c244221112140e89dbb605528c2435fe -r29f6400b19eb5182115487fee022983e20629947 --- lams_common/src/flash/org/lamsfoundation/lams/common/comms/Communication.as (.../Communication.as) (revision 6de81de6c244221112140e89dbb605528c2435fe) +++ lams_common/src/flash/org/lamsfoundation/lams/common/comms/Communication.as (.../Communication.as) (revision 29f6400b19eb5182115487fee022983e20629947) @@ -100,7 +100,7 @@ addToQueue(handler); //Assign onData function setOnData(responseXML); - + //TODO DI 11/04/05 Stub here for now until we have server implmenting new WDDX structure if(isFullURL){ Debugger.log('Requesting:'+requestURL,Debugger.GEN,'getRequest','Communication'); @@ -193,7 +193,7 @@ if(responseObj.messageValue != null){ dispatchToHandlerByID(queueID,responseObj.messageValue); }else{ - Debugger.log('Message value was null, cannot continue',Debugger.CRITICAL,'getRequest','Communication'); + Debugger.log('Message value was null, cannot continue',Debugger.CRITICAL,'onServerResponse','Communication'); } } @@ -202,8 +202,10 @@ }else { //TODO DI 12/04/05 Handle onLoad error //showAlert("System error", "

Communication Error

", "sad"); - Debugger.log("XML Load failed",Debugger.CRITICAL,'onServerResponse','Communication'); - } + Debugger.log("XML Load failed",Debugger.CRITICAL,'onServerResponse','Communication'); + var e = new LFError("Communication with the server has failed. \nPlease check you are connected to the internet and/or LAMS server","onServerResponse",this,'Server URL:'+_serverURL); + e.showErrorAlert(); + } } /**