darkhorni
14 Jun 2012, 3:34 AM
My code:
var store = Ext.create('Ext.data.JsonStore', {
autoDestroy: true,
model: Users,
proxy: {
type: 'ajax',
actionMethods: 'POST',
url: '/application.php?way=users',
extraParams: {meta: 'true'},
reader: {
type: 'json',
root: 'data',
idProperty: 'user_id',
totalProperty: 'total'
}
},
As you can see the extraParams' meta parameter is send every time. How can send it only once?
var store = Ext.create('Ext.data.JsonStore', {
autoDestroy: true,
model: Users,
proxy: {
type: 'ajax',
actionMethods: 'POST',
url: '/application.php?way=users',
extraParams: {meta: 'true'},
reader: {
type: 'json',
root: 'data',
idProperty: 'user_id',
totalProperty: 'total'
}
},
As you can see the extraParams' meta parameter is send every time. How can send it only once?