PDA

View Full Version : formpanel.getform().submit() doesnot pass any data



pegasus
11 Nov 2009, 1:21 PM
Hello,

This is my first post here. So far this forum has given all the information I needed, but I'm stuck on a formpanel issue and not able to proceed further.

I have:
var simple = new Ext.FormPanel;

I'm trying to submit the values entered by the user through POST method:




text:'Submit',
handler: function (a, b, c) {
console.log(simple.getForm().getValues());
simple.getForm().submit({
url:'save-property',
params: {A: a,B: b,C: c},
method:'POST',
waitTitle:'Connecting'
});
win.close();
}

The simple.getForm().getValues() displays all the correct values from the form. But submit is not sending any data to the server. I only receive the 'params' at the server end.

Is there some other parameter that needs to be taken care of?


Thanks in advance!

pegasus
11 Nov 2009, 3:13 PM
Could it be a server side problem?