|
|||||||
![]() |
|
|
Thread Tools |
|
#1
|
||||
|
||||
|
In some cases, it would be useful to have the current requestId returned by the "doSend()" method in RemotingProvider:
doSend : function(data){
var o = {
url: this.url,
callback: this.onData,
scope: this,
ts: data,
timeout: this.timeout
}, callData;
if(Ext.isArray(data)){
callData = [];
for(var i = 0, len = data.length; i < len; i++){
callData.push(this.getCallData(data[i]));
}
}else{
callData = this.getCallData(data);
}
if(this.enableUrlEncode){
var params = {};
params[Ext.isString(this.enableUrlEncode) ? this.enableUrlEncode : 'data'] = Ext.encode(callData);
o.params = params;
}else{
o.jsonData = callData;
}
return Ext.Ajax.request(o);
},
__________________
Thorsten Suckow-Homberg Ext.ux.Livegrid - GridViewMenuPlugin - Ext.ux.YoutubePlayer - Ext.ux.Wiz - Ext.ux.FlexAccord - Ext.ux.FlashControl http://www.conjoon.org |http://www.siteartwork.de You should follow me on twitter: http://twitter.com/ThorstenSuckow |
![]() |
| Thread Tools | |
|
|