callParentが機能しない理由を理解しようとしています。
ここにいくつかのコードがあります:
Ext.define('AM.ArView', {
extend:'Ext.window.Window',
initComponent: function() {
var foo = this;
console.log(foo);
Ext.Ajax.request({
url: 'http://my/awesome/path',
success: function(response, opts) {
console.log(foo);
foo.callParent();
},
failure: function(response, opts) {
console.log('error');
}
});
}
});
エラー:キャッチされていないTypeError:未定義のプロパティ'superclass'を読み取れません
ajaxを介してWindowsアイテムをロードする必要があります