1. #1
    Ext JS Premium Member brasmouk's Avatar
    Join Date
    Apr 2008
    Posts
    77
    Vote Rating
    0
    brasmouk is on a distinguished road

      0  

    Exclamation Ext.Updater: Extjs3.4 migration to extjs 4.1

    Ext.Updater: Extjs3.4 migration to extjs 4.1


    Hello,

    In my version ExtJs3.4, I use Ext.Updater with:
    Code:
     Ext.Updater.defaults.showLoadIndicator = false;
     Ext.Updater.defaults.loadScripts = true;
    
     var mgr = new Ext.Updater (myComponent)
     mgr.formUpdate (formid, url, .., ..);
    My question is how can I migrate it into ExtJs4.1?

  2. #2
    Ext JS Premium Member brasmouk's Avatar
    Join Date
    Apr 2008
    Posts
    77
    Vote Rating
    0
    brasmouk is on a distinguished road

      0  

    Default


    I can not choose the form to post with Ext.ComponentLoader

  3. #3
    Sencha User nickbretz's Avatar
    Join Date
    Jul 2011
    Location
    Kansas City, MO
    Posts
    12
    Vote Rating
    3
    nickbretz is on a distinguished road

      0  

    Default


    You can do this with ElementUpdater like so:
    Code:
    Ext.get("div-to-update").load({
        url: "formHandler.php",
        form: Ext.get('form-id'),
        scripts: true
    });
    Nick Bretz
    @nickbretz

Thread Participants: 1