-
1 Feb 2013 2:18 PM #11
Just do the full name of the object and it won't default to the app folder.
I've been doing this structure since 4.0. I did have to edit the path in 4.2 to go from the index.html location instead of my arch-app.js but that was it.
My directory structure is below:PHP Code:Ext.Loader.setConfig({
enabled: true,
paths: {
'MyApp': './js-4.2.0',
'Ext.ux.form': './js-4.2.0/plugin',
'Ext.ux': './js-4.2.0/plugin'
}
});
Ext.application({
name: 'MyApp.arch',
appFolder: './js-4.2.0/arch',
requires: [
'MyApp.arch.Init',
'MyApp.arch.Ajax'
]
});
Code:/ (webroot) index.html js-4.2.0/ arch-app.js arch/ Init.js Ajax.js
-
5 Feb 2013 1:55 PM #12
For Sencha Dev's. My 4.0.7 file structure worked for 4.1 with no changes but in 4.2 I had to make a few changes to make it work correctly. Below is the other thread discussing it.
http://www.sencha.com/forum/showthre...l=1#post933512
Looks like we cannot reproduce this. Please provide another test case to reproduce this issue.


Reply With Quote