单击ExtJs4.1中菜单项中的按钮

单击ExtJs4.1中菜单项中的按钮,extjs4,Extjs4,为什么每次按下菜单中的按钮(Extjs4.1)时都会出现此错误。当我试图点击下面菜单中的任何按钮时,就会发生这种情况 未捕获类型错误:对象[Object Object]没有方法“getPageBox” 以下是代码: dockedItems: [{ xtype: 'toolbar', items: [{ text: _('Add'), iconCls: 'entry_add', action: 'add', },{

为什么每次按下菜单中的按钮(Extjs4.1)时都会出现此错误。当我试图点击下面菜单中的任何按钮时,就会发生这种情况

未捕获类型错误:对象[Object Object]没有方法“getPageBox”

以下是代码:

dockedItems: [{
    xtype: 'toolbar',
    items: [{
        text: _('Add'),
        iconCls: 'entry_add',
        action: 'add',
    },{
        text: _('Search')+':',
    },{
        xtype: 'textfield',
        hideLabel: true,
        width: 160,
        name: 'searchfield',
        enableKeyEvents: true,
    },{
        xtype: 'tbfill',
    },{
        text: _('Delete'),
        iconCls: 'entry_delete',
        action: 'delete',
    },{
        text: _('Refresh'),
        iconCls: 'entry_refresh',
        action: 'refresh',
    },{
        iconCls: 'entry_refresh',
        text: 'Actions',
        menu: {
            xtype: 'menu',
            floating: true,
            items: [{
                text: _('Create Order'),
                iconCls: 'entry_delete',
                action: 'createorder',
            },{
                text: _('Stocktalking'),
                iconCls: 'entry_delete',
                action: 'stocktalking',
            },{
                text: _('Export'),
                iconCls: 'entry_refresh',
                action: 'export',
            },{
                text: _('Import'),
                iconCls: 'entry_refresh',
                action: 'import',
            }],
        },
    }]

在Ext4.0.7中正常工作似乎是一个错误,我在4.1.0-RC3中测试了它,没有错误。您是否有任何其他代码,您可能认为是关于它们的?嗯,不适用于4.1RC3,将搜索其他错误。