1. #1
    Sencha User
    Join Date
    Sep 2012
    Posts
    5
    Answers
    1
    Vote Rating
    0
    codeMagic is on a distinguished road

      0  

    Default Answered: Uncaught TypeError: Cannot read property '$inheritableStatics' of undefined

    Answered: Uncaught TypeError: Cannot read property '$inheritableStatics' of undefined


    I'm still new to ST and I'm sure this is something simple that I'm missing but I keep getting this error and can't figure out what it means or where it is generating from exactly
    Uncaught TypeError: Cannot read property '$inheritableStatics' of undefined

    I think it may be coming from my model

    Code:
    Ext.define('SenchaFirstApp.model.Equipment', {    extend: 'Ext.data.Model',    
          config: {
                idProperty: 'sn',
                fields: [
                  {name: 'label'},
                  {name: 'sn', type: 'auto'},
                  {name: 'category'},
                  {name: 'shield'}
                ]
            },
        
    });
    or from the view
    Code:
    Ext.define('SenchaFirstApp.view.EditEquipView', {
               extend: ['Ext.tab.Panel'],
              // extend: ['Ext.form.Panel'],
               requires: ['Ext.form.FieldSet'],
               model: 'SenchaFirstApp.model.Equipment',
               
               config:
               {
                centered: true,
                
                items:[
                       {xtype: 'fieldset',
                        items: [
                                {
                                    name: 'label',
                                    label: 'Label',
                                    xtype: 'textfield',
                                },
                                {
                                    name: 'sn',
                                    label: 'S/N',
                                    xtype: 'textfield',
                                },
                                {
                                    name: 'category',                //Add options
                                    label: 'category',
                                    xtype: 'selectfield',
                                },
                                {
                                    name: 'shield',
                                    label: 'Shield',
                                    xtype: 'checkboxfield'
                                },
                            ],
                       },
                       {
                           xtype: 'saveBtn'                            
                       },
                       ]
               }
               });
    this is my first time posting on here so hopefully I formatted it correctly. If not or if more information is needed, please let me know. The error could be coming from somewhere else but I suspect one of these guys. Thanks!

  2. Ok...I certainly am new! I had brackets around my 'extend' in the view. Just silly

  3. #2
    Sencha User
    Join Date
    Sep 2012
    Posts
    5
    Answers
    1
    Vote Rating
    0
    codeMagic is on a distinguished road

      0  

    Default Brackets

    Brackets


    Ok...I certainly am new! I had brackets around my 'extend' in the view. Just silly

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