Results 1 to 2 of 2

Thread: Saving several forms together using

  1. #1
    Sencha User
    Join Date
    Dec 2012
    Vote Rating

    Default Saving several forms together using


    I have an architecture question about saving several forms together.
    lets say I have a panel which contains 3 tabs inside it and each tab contains configuration parameters that the user can change.

    after the user changed what he wants he clicks on the Save button and then I would like to submit all the changes to the server side.
    at the end of the chain I need to submit to my java server one Object which contains 3 other objects that represent the data of each tab (1 object for tab).

    what is the correct way to do this with Ext.Direct?


  2. #2
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Gainesville, FL
    Vote Rating


    The good thing about Direct is if you execute multiple direct functions within a certain amount of time it will batch the requests into one and then separate it server side.

    If you don't want to do the splitting server side and just want to hit one direct function then you will just need to get the values from each form and then execute a direct function manually passing the object.
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Frontend Engineer
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:

Posting Permissions

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