1 Ext.Loader.setConfig({enabled: true});
3 Ext.Loader.setPath('Ext.ux', '../ux/');
7 'Ext.tip.QuickTipManager',
9 'Ext.ux.GroupTabPanel',
13 Ext.onReady(function() {
14 Ext.tip.QuickTipManager.init();
16 // create some portlet tools using built in Ext tool ids
20 Ext.Msg.alert('Message', 'The Settings tool was clicked.');
24 handler: function(e, target, panel){
25 panel.ownerCt.remove(panel, true);
29 Ext.create('Ext.Viewport', {
32 xtype: 'grouptabpanel',
38 iconCls: 'x-icon-tickets',
39 tabTip: 'Tickets tabtip',
47 tabTip: 'Dashboard tabtip',
53 html: '<div class="portlet-content">'+Ext.example.bogusMarkup+'</div>'
56 title: 'Stock Portlet',
62 html: '<div class="portlet-content">'+Ext.example.bogusMarkup+'</div>'
66 title: 'Subscriptions',
67 iconCls: 'x-icon-subscriptions',
68 tabTip: 'Subscriptions tabtip',
69 style: 'padding: 10px;',
77 html: Ext.example.shortBogusMarkup
82 iconCls: 'x-icon-users',
83 tabTip: 'Users tabtip',
84 style: 'padding: 10px;',
85 html: Ext.example.shortBogusMarkup
90 title: 'Configuration',
91 iconCls: 'x-icon-configuration',
92 tabTip: 'Configuration tabtip',
93 style: 'padding: 10px;',
94 html: Ext.example.shortBogusMarkup
96 title: 'Email Templates',
97 iconCls: 'x-icon-templates',
98 tabTip: 'Templates tabtip',
99 style: 'padding: 10px;',
102 xtype: 'form', // since we are not using the default 'panel' xtype, we must specify it
105 title: 'Form Layout',
106 bodyStyle: 'padding:15px',
113 defaultType: 'textfield',
115 fieldLabel: 'First Name',
119 fieldLabel: 'Last Name',
122 fieldLabel: 'Company',
130 buttons: [{text: 'Save'},{text: 'Cancel'}]