Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

Hybrid View

  1. #1
    Sencha User
    Join Date
    Apr 2010
    Posts
    8
    Vote Rating
    0
    awhitford is on a distinguished road

      0  

    Question Uncaught TypeError: Cannot call method 'substring' of undefined ext-all-debug.js:3487

    Uncaught TypeError: Cannot call method 'substring' of undefined ext-all-debug.js:3487


    In my Ext3 to Ext4 migration, I am left with a killer that I do not understand:

    Code:
    Uncaught TypeError: Cannot call method 'substring' of undefined
    Manager.Ext.ClassManager.parseNamespace  ext-all-debug.js:3487
    Manager.Ext.ClassManager.get  ext-all-debug.js:3583
    Manager.Ext.ClassManager.instantiate  ext-all-debug.js:3749
    Manager.Ext.ClassManager.instantiateByAlias  ext-all-debug.js:3737
    (anonymous function)  ext-all-debug.js:1537
    (anonymous function)  ext-all-debug.js:1521
    Ext.define.create  ext-all-debug.js:16667
    Ext.define.createComponent  ext-all-debug.js:28187
    Ext.define.lookupComponent  ext-all-debug.js:28175
    Ext.define.prepareItems  ext-all-debug.js:28146
    Ext.define.addDocked  ext-all-debug.js:32932
    Ext.define.bridgeToolbars  ext-all-debug.js:37435
    Ext.define.initComponent  ext-all-debug.js:37312
    Base.callParent  ext-all-debug.js:2833
    Ext.define.initComponent  ext-all-debug.js:74857
    (anonymous function)  ext-all-debug.js:1537
    Base.callParent  ext-all-debug.js:2833
    Ext.define.initComponent  ext-all-debug.js:76456
    (anonymous function)  ext-all-debug.js:1537
    Ext.define.constructor  ext-all-debug.js:18576
    Base.callParent  ext-all-debug.js:2833
    Ext.define.constructor  ext-all-debug.js:27217
    (anonymous function)  ext-all-debug.js:1537
    Ext.Class.Class.newClass  ext-all-debug.js:3067
    anonymous:2
    Manager.Ext.ClassManager.instantiate  ext-all-debug.js:3787
    Manager.Ext.ClassManager.instantiateByAlias  ext-all-debug.js:3737
    (anonymous function)  ext-all-debug.js:1537
    (anonymous function)  ext-all-debug.js:1521
    Ext.define.create  ext-all-debug.js:16667
    Ext.define.createComponent  ext-all-debug.js:28187
    Ext.define.lookupComponent  ext-all-debug.js:28175
    Ext.define.prepareItems  ext-all-debug.js:28146
    Ext.define.add  ext-all-debug.js:28235
    Ext.define.add  ext-all-debug.js:28225
    Ext.define.initItems  ext-all-debug.js:28065
    Ext.define.initComponent  ext-all-debug.js:28049
    (anonymous function)  ext-all-debug.js:1537
    Base.callParent  ext-all-debug.js:2833
    Ext.define.initComponent  ext-all-debug.js:60633
    AutosysAdminViewportUi.Ext.extend.initComponent  MyViewport.ui.js:348
    AutosysAdminViewport.Ext.extend.initComponent  MyViewport.js:134
    Ext.define.constructor  ext-all-debug.js:18576
    Base.callParent  ext-all-debug.js:2833
    Ext.define.constructor  ext-all-debug.js:27217
    Ext.Class.Class.newClass  ext-all-debug.js:3067
    (anonymous function)  MyViewport.js:140
    isEvent  ext-all-debug.js:10117
    call  ext-all-debug.js:10073
    I traced this further down to the offending component, a paging toolbar. Its config is simply:
    Code:
            bbar: {
              xtype: 'paging',
              pageSize: 50,
              store: myStore,
              displayInfo: true
            }
    What could be wrong?
    Last edited by awhitford; 12 Jun 2011 at 10:12 PM. Reason: Adding more detail.

  2. #2
    Sencha - Community Support Team mankz's Avatar
    Join Date
    Nov 2007
    Location
    Stockholm, Sweden
    Posts
    2,703
    Vote Rating
    104
    mankz is a name known to all mankz is a name known to all mankz is a name known to all mankz is a name known to all mankz is a name known to all mankz is a name known to all

      0  

    Default


    Try:

    Code:
    bbar: {
                  xtype: 'pagingtoolbar',
                  pageSize: 50,
                  store: myStore,
                  displayInfo: true
                },

  3. #3
    Sencha User
    Join Date
    Apr 2010
    Posts
    8
    Vote Rating
    0
    awhitford is on a distinguished road

      0  

    Default pagingtoolbar (not paging) xtype

    pagingtoolbar (not paging) xtype


    Changing the xtype from 'paging' to 'pagingtoolbar' seemed to solve the problem. Thank you!

    But then this suggests that there is a documentation problem as the 4.02 documentation still lists 'paging' as an eligible xtype.

    http://docs.sencha.com/ext-js/4-0/#/api/Ext.Component

  4. #4
    Sencha - Community Support Team mankz's Avatar
    Join Date
    Nov 2007
    Location
    Stockholm, Sweden
    Posts
    2,703
    Vote Rating
    104
    mankz is a name known to all mankz is a name known to all mankz is a name known to all mankz is a name known to all mankz is a name known to all mankz is a name known to all

      0  

    Default


    Yes, docs are in bad shape. The Ext source always tells the truth though

  5. #5
    Sencha User
    Join Date
    Jul 2011
    Posts
    3
    Vote Rating
    0
    ricasouz is on a distinguished road

      0  

    Question Same error message

    Same error message


    I got the same error message, but with another source code. I'm following the tutorial below
    http://docs.sencha.com/ext-js/4-0/#!...n_architecture

    and before entering in the chapter "creating a model and a store", I have this error.

    Any idea?

  6. #6
    Sencha User
    Join Date
    Mar 2009
    Posts
    1
    Vote Rating
    0
    DreamWork is on a distinguished road

      0  

    Default


    morning,

    i have the same problem with following code

    Uncaught TypeError: Cannot call method 'substring' of undefined
    ext-core-debug.js:6183

    the code is generated with Ext-Designer

    my Code:


    Code:
            Ext.apply(this, {
                items : [ {
                    id: 'tabpanel',
                    xtype : 'container',
                    region : 'center',
                    items : [ {
                        xtype : 'tabpanel',
                        height : 920,
                        width : 1250,
                        activeTab : 0,
                        items : [ {
                            xtype : 'panel',
                            height : 884,
                            width : 1246,
                            title : 'Tab 1'
                        }, {
                            xtype : 'panel',
                            closable : true,
                            title : 'Tab 2'
                        }, {
                            xtype : 'panel',
                            title : '+'
                        } ]
                    } ]
                }, {
                    xtype : 'container',
                    width : 181,
                    region : 'west',
                    split : true
                }, {
                    xtype : 'panel',
                    height : 920,
                    width : 212,
                    autoScroll : true,
                    layout : {
                        type : 'accordion'
                    },
                    collapsed : false,
                    collapsible : true,
                    title : 'My Panel',
                    region : 'west',
                    split : true,
                    items : [ {
                        width : 53,
                        collapsed : true,
                        title : 'Settings'
                    }, {
                        width : 200,
                        collapsed : false,
                        title : 'Options'
                    } ]
                } ]
            });
    where is the error in my code ?

    thx
    Sven

  7. #7
    Sencha User
    Join Date
    Jul 2011
    Posts
    3
    Vote Rating
    0
    ricasouz is on a distinguished road

      0  

    Default


    I'm sorry, but I think that I found my mistake... in views I was not putting the 'user.Edit'

    Thanks for everything.