]>
git.proxmox.com Git - extjs.git/blob - extjs/build/examples/classic/app/feed-viewer/app/view/feed/Add.js
1 Ext
.define('FV.view.feed.Add', {
2 extend
: 'Ext.window.Window',
4 alias
: 'widget.feedwindow',
6 requires
: ['Ext.form.Panel', 'Ext.form.field.ComboBox'],
9 ['http://rss.cnn.com/rss/edition.rss', 'CNN Top Stories'],
10 ['http://sports.espn.go.com/espn/rss/news', 'ESPN Top News'],
11 ['http://news.google.com/news?ned=us&topic=t&output=rss', 'Sci/Tech - Google News'],
12 ['http://rss.news.yahoo.com/rss/software', 'Yahoo Software News']
15 defaultFocus
: '#feed',
24 initComponent: function() {
37 bodyPadding
: '12 10 10',
43 fieldLabel
: 'Enter the URL of the feed to add',
47 store
: this.defaultFeeds
,
48 getInnerTpl: function() {
49 return '<div class="feed-picker-url">{field1}</div><div class="feed-picker-title">{field2}</div>';
55 this.callParent(arguments
);