PDA

View Full Version : ExtJS 4.1 MVC relative paths work incorrectly



TriAnarchy
21 Jan 2013, 8:09 AM
Hello, I am having a strange issue that I did not have before, I have the following MVC App:

this.subApp = Ext.create('Ext.app.Application', {
name: 'FileBrowser',
appFolder: 'fileBrowserApp',
controllers: ['BrowserController'],
requires: ['Dashboard.Library'],

For some reason, this application, looks for the controller in FileBrowser/controllers/BrowserController rather than 'fileBrowserApp/controllers/BrowserController', does anyone know why?

mitchellsimoens
23 Jan 2013, 10:24 AM
Inspect Ext.Loader to see if you see the path. Also, MVC is not setup to have multiple Application classes