1. #1
    Sencha User
    Join Date
    Jun 2010
    Posts
    1
    Vote Rating
    0
    donaj is on a distinguished road

      0  

    Default Overriding Ext.container.Container add function

    Overriding Ext.container.Container add function


    I am trying to override Container component:

    Code:
    Ext.container.Container.override({
         add : function () {
              this.callOverridden(arguments);
              console.log("container add");
         }
    everything seems to work fine, but when i try to create Ext.tab.Panel and add one Ext.panel.Panel like this:

    Code:
    var oTP = Ext.create("Ext.tab.Panel", {
         width: 100, 
         height: 100, 
         renderTo: "myDiv"
    });
    
    oTP.add(Ext.create("Ext.panel.Panel", {title: "Panel 0"}));
    it renders corectly but following error appears TypeError: Cannot read property 'disabled' of undefined.
    I tried to debug it and function setActiveTab triggers an error in line:

    Code:
    if (tab.disabled)

  2. #2
    Sencha User
    Join Date
    Jun 2011
    Posts
    6
    Vote Rating
    1
    divide0 is on a distinguished road

      0  

    Default Ever get a solution to this?

    Ever get a solution to this?


    I just ran into the same problem. Did you ever get a solution to this?

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi