1. #21
    Sencha - Community Support Team hendricd's Avatar
    Join Date
    Aug 2007
    Location
    Long Island, NY USA
    Posts
    5,964
    Vote Rating
    11
    hendricd will become famous soon enough hendricd will become famous soon enough

      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
    141
    Vote Rating
    6
    MichaelOstrovsky is on a distinguished road

      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.