EXT1.1:
JsonSore ignores the "method" property:
PHP Code:
ds = new Ext.data.JsonStore({
url: Base.siteUrl + 'main/respGetMitarbeiter',
method: 'POST', // this is ignored. Store always uses GET
root: 'data',
fields: ['id', 'vorname', 'nachname', 'anrede', 'email'],
remoteSort: true
});
Looking at the source it seems that only the URL property is used:
PHP Code:
Ext.data.JsonStore = function(c){
10687 Ext.data.JsonStore.superclass.constructor.call(this, Ext.apply(c, {
10688 proxy: !c.data ? new Ext.data.HttpProxy({url: c.url}) : undefined,
10689 reader: new Ext.data.JsonReader(c, c.fields)
10690 }));
10691};
Is this a bug?
Regards
Wolfgang