Page 3 of 3 FirstFirst 123
Results 21 to 22 of 22

Thread: deferred initialization

  1. #21
    Sencha User hendricd's Avatar
    Join Date
    Aug 2007
    Location
    Long Island, NY USA
    Posts
    5,966
    Vote Rating
    15
      0  

    Default

    @Michael --

    You might also take a look at the existing features that $JIT provides (comes with the ext-basex adapter extension)

    Code:
    Ext.require('something'[ ,callback])
    
    someContainer.add({
        title : 'Tab1',
        xtype : 'tabpanel',
        require : [ 'salesGrid', ....],
        items : {
           xtype : 'salesgrid',
           .....
        }
    });
    
    
    $JIT('salesGrid.js');
    $JIT.onClassAvailable('App.cls.SalesGrid', function(gotit){
         if(gotit){
    
    
    
        }
    
      }, App, 30000);
    It addresses many of the issues you've been discussing.
    "be dom-ready..."
    Doug Hendricks

    Maintaining ux: ManagedIFrame, MIF2 (FAQ, Wiki), ux.Media/Flash, AudioEvents, ux.Chart[Fusion,OFC,amChart], ext-basex.js/$JIT, Documentation Site.


    Got Sencha licensing questions? Find out more here.


  2. #22
    Sencha Premium Member MichaelOstrovsky's Avatar
    Join Date
    May 2008
    Location
    Tel Aviv, Israel
    Posts
    143
    Vote Rating
    7
      0  

    Default

    wow. Thats exactly what i meant by

    Also, i'm very interested to hear from the gurus about that, before reinventing the wheel or making something stupid
    don't know how i missed that one (http://www.extjs.com/forum/showthrea...658#post225658)

    thanks very much hendricd.

Page 3 of 3 FirstFirst 123

Tags for this Thread

Posting Permissions

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