小编Joh*_*n K的帖子

FormPanel中的ExtJS FormPanel失败,"this.body is null"

我有一个相当复杂的设置,我已经归结为下面的代码.我有一个外部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)

javascript extjs

5
推荐指数
1
解决办法
1万
查看次数

标签 统计

extjs ×1

javascript ×1