jeudi 20 mars 2014

ExtJS 3.0.0 JSONStore Error! Help me please!

Hi, all!



2 years ago, I developed a site using extjs 3.0.0.



When I developed that, it was very good, but now, it has some problem.



var orderStore = new Ext.data.JsonStore({

id : 'orderStore',

url : url,baseParams : baseParams,

root : 'data.results',idProperty: 'orderNo',

autoLoad : {

params : defaultParams

},

totalProperty: 'data.totalCount',

fields : [

... ...

]

});



'defaultParams' is an object, it has some parameters for getting data.



I run it under debug mode, and confirmed 'defaultParams', it has right values.



But the page(url) don't receive any parameters, any values.



Where is problem? I tried to find in a week, but cannot find till now.



Please help me!




Aucun commentaire:

Enregistrer un commentaire