Ext.Ajax.request({
url: 'http://localhost:8081/igis-lib/Service',
extraParams: {
_op: "getAll",
_on: this.childFeatureType,
_param: "{"+this.featureType+":"+selVal+"}"
},
success: function(response, opts) {
Ext.getBody().unmask();
alert("success");
var obj = Ext.decode(response.responseText);
console.log(obj);
},
failure: function(response, opts) {
Ext.getBody().unmask();
console.log('server-side failure with status code ' + response.status);
}
});
i am using it in GeoExplorer in order to get the json to load the combobox..