私は sencha touch 2 を初めて使用します。チュートリアルの指示に従ってブログ ビューを作成した後、インスタンス化しようとしたときに、「Uncaught Error: [Ext.createByAlias] Cannot create an instance of unrecognized alias: widget.blogpanel」というエラーが表示されました。 ;
blog.js のコードを以下に示します。
Ext.define('GS.view.blog',{
extend:'Ext.navigation.View',
xtype: 'blog',
config:{
title: 'Blog',
iconCls: 'star',
items:
{
xtype:'list',
itemTpl:'{title}',
store:
{
autoLoad: true,
fields:['title','author','content'],
proxy:
{
type:'jsonp',
url: 'https://ajax.googleapis.com/ajax/services/feed/load?v=1.0&q=http://feeds.feedburner.com/SenchaBlog',
reader:
{
type:'json',
rootProperty:'responseData.feed.entries',
}
}
}
}
}
});