PDA

View Full Version : HttpProxy cannot send information via POST method



nhuyanhuk
2 Jun 2009, 8:04 PM
Hi guys,
I cannot get this code to send the request by POST. Instead, it keeps sending information by GET method. I have seen the resolution using API, however, it doesn't seemed to work for me. Please help.


var guardDataStore = new Ext.data.Store(
{
proxy: new Ext.data.HttpProxy(
{
url: 'guard_data.php',
method: 'POST'
}
),
baseParams: {task: "getData"},
reader: new Ext.data.JsonReader(
{
root: 'results',
totalProperty: 'total'
},
recordDef
)
}
);

crysfel
2 Jun 2009, 10:08 PM
it is a bug in the ext3.0rc1

http://extjs.com/forum/showthread.php?t=67680

wait for the next release or overwrite the method with your fix :D

have funnnnn ;)