1. #1
    Sencha User Baron89's Avatar
    Join Date
    Aug 2012
    Posts
    58
    Answers
    1
    Vote Rating
    0
    Baron89 is on a distinguished road

      0  

    Default Answered: b[d.xtype || e] is not a constructor

    Answered: b[d.xtype || e] is not a constructor


    hi all,when i tried to write a xtype by my self ,i got a error: 'b[d.xtype || e] is not a constructor',below's are my code,could anyone pls see where went wrong? any help is appreciated

    repoInMasterUi.js
    Code:
    com.oocl.ir4.emt.form.repoInMasterUi = Ext.extend(Ext.Panel, {
        title: 'My Panel',
            initComponent: function() {
         this.layoutConfig = {
                align: 'stretch',
                padding: 10
            };
            this.items = [
               {
                    xtype: 'com.oocl.ir4.emt.form.repoInSum',//error: b[d.xtype || e] is not a constructor
                    title: 'Summary',
                    id: this.id + '.panel.sum'
                }
            ];
            com.oocl.ir4.emt.form.repoInMasterUi.superclass.initComponent.call(this);
        }
    });
    repoInMaster.js
    Code:
    com.oocl.ir4.emt.form.repoInMaster = Ext.extend(com.oocl.ir4.emt.form.repoInMasterUi, {
        initComponent: function() {
           }        
        });
    Ext.reg('com.oocl.ir4.emt.form.repoInMaster',com.oocl.ir4.emt.form.repoInMaster);
    repoInSumUi.js
    Code:
    Ext.namespace('com', 'com.oocl', 'com.oocl.ir4',
      'com.oocl.ir4.emt.form');
    com.oocl.ir4.emt.form.repoInSumUi = Ext.extend(Ext.grid.GridPanel, {
        title: 'Summary',
        store: new com.oocl.ir4.emt.form.repoInSumDataStore(),
         initComponent: function() {
            this.columns = [
                {
                    xtype: 'gridcolumn',
                    dataIndex: 'string',
                    header: 'From',
                    sortable: true,
                    width: 100
                },
                {
                    xtype: 'numbercolumn',
                    dataIndex: 'number',
                    header: 'From ETA',
                    sortable: true,
                    width: 100,
                    align: 'right'
                }         
      ];
            com.oocl.ir4.emt.form.repoInSumUi.superclass.initComponent.call(this);
        }
    });
    repoInSum.js
    Code:
    Ext.namespace('com', 'com.oocl', 'com.oocl.ir4', 'com.oocl.ir4.emt.form');
    com.oocl.ir4.emt.form.repoInSum = Ext.extend(com.oocl.ir4.emt.form.repoInSumUi, {
        initComponent: function() {
            com.oocl.ir4.emt.form.repoInSum.superclass.initComponent.call(this);
        }
    });Ext.reg('com.oocl.ir4.emt.form.repoInSum',com.oocl.ir4.emt.form.repoInSum);

  2. hi all,it's just simply becoz i didnt create datastore for gridpanel

  3. #2
    Sencha User Baron89's Avatar
    Join Date
    Aug 2012
    Posts
    58
    Answers
    1
    Vote Rating
    0
    Baron89 is on a distinguished road

      0  

    Default


    hi all,it's just simply becoz i didnt create datastore for gridpanel

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