我有一个相当复杂的设置,我已经归结为下面的代码.我有一个外部FormPanel,我试图包含一个子类FormPanel的组件.在FF中它导致"this.body is null"错误.
这是发生在其他人身上吗?有可能让这个工作吗?如果我不需要,我非常不想触及子类.
var test = new Ext.Window({
title: 'test',
items: [{
xtype: 'form',
items: [{
// this is where the subclass of FormPanel goes
xtype: 'form',
items: [{
xtype: 'textfield',
fieldLabel: 'Testing'
}]
}]
}]
});
test.show();
Run Code Online (Sandbox Code Playgroud)