PDA

View Full Version : Model defined in Controller or Application doesn't get loaded



icvg
3 Aug 2011, 5:37 AM
In my application or Controller or Store I define the models array, but none of the classes defined there does not get loaded dynamically. Other files defined for example in the require property, get loaded.


Example:


Ext.application({
name: 'MyApp',
controllers: ['MgrRequests'],
models: ['MyApp.model.Request'],
stores: ['SubmittedRequests'],

launch: function() {
Ext.QuickTips.init();

Ext.create('Ext.container.Viewport', {
items: {
xtype: 'mgrTabs'
}
});

}
});

Tested with Version: 4.0.2a, Firefox 5, Linux