Index: lams_common/src/flash/org/lamsfoundation/lams/common/comms/Communication.as =================================================================== diff -u -rcea76cc223a4fde1b28a4c67cb1ed6ddb89f55ce -rf762ad5c788e9e41a0427e2a4c2a5ba9bf17dbef --- lams_common/src/flash/org/lamsfoundation/lams/common/comms/Communication.as (.../Communication.as) (revision cea76cc223a4fde1b28a4c67cb1ed6ddb89f55ce) +++ lams_common/src/flash/org/lamsfoundation/lams/common/comms/Communication.as (.../Communication.as) (revision f762ad5c788e9e41a0427e2a4c2a5ba9bf17dbef) @@ -69,8 +69,10 @@ //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'); responseXML.load(requestUrl); }else{ + Debugger.log('Requesting:'+_serverUrl+requestUrl,Debugger.GEN,'getRequest','Communication'); responseXML.load(_serverUrl+requestUrl); } //_global.breakPoint(); @@ -115,10 +117,18 @@ } /** - * @param obj WDDX Packet - */ - public function sendAndReceiveXML (obj:XML){ - + * Sends a data object to the server and directs response to handler function. + * + * @param dto The flash object to send. Will be WDDX serialised + * @param requestUrl the url to send and load the data from + * @param handlerFn the function that will handle the response (usually an ACK response) + * @param isFullURL Inicates if the requestUrl is fully qualified, if false serverURL will be prepended + * + * @usage: + * + */ + public function sendAndReceive(dto:Object, requestUrl:String,handlerFn:Function,isFullURL){ + //TODO: Implement! }