Results 1 to 2 of 2

Thread: formpanel.getform().submit() doesnot pass any data

  1. #1
    Ext User
    Join Date
    Nov 2009
    Posts
    17
    Vote Rating
    0
      0  

    Default formpanel.getform().submit() doesnot pass any data

    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!

  2. #2
    Ext User
    Join Date
    Nov 2009
    Posts
    17
    Vote Rating
    0
      0  

    Default server side?

    Could it be a server side problem?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •