PDA

View Full Version : [STALE-526] DirectProxy load event not getting called



Sesshomurai
4 Feb 2010, 2:23 AM
Hi,
I have a DirectProxy:



var directproxy = new Ext.data.DirectProxy({
paramsAsHash: false,
paramOrder:['domain','select','start','limit','token'],
directFn: GridwaveObject.getPage});


used on a GroupingStore. I add a callback for load:



directproxy.on("load", function(proxy,object,options) {

log.info("DIRECT PROXY LOAD");
for(var key in object) {
log.info("data "+key+" object "+object[key]);
}
});


The data loads, but the callback is never called.

Jamie Avins
23 Feb 2010, 2:00 PM
I assume you are expecting that on a read operation. Are you getting the proper records on the callback? Also, can you post your reader configuration.