-
15 Jul 2011 12:42 AM #1
Ext & application files are loaded separately althougth of using app-all.js
Ext & application files are loaded separately althougth of using app-all.js
Hi,
I have problem with my Ext application in production mode.
This is debug-mode html.
I'm using Ext.require & Ext.syncRequire to load classes.Code:<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <link rel="stylesheet" href="extjs/resources/css/ext-all-gray.css" /> </head> <body> <script src="extjs/ext-debug.js"></script> <script src="app.js"></script> </body> </html>
This is production-mode html:
Every classes and app.js are in app-all.js, but every classes are still loaded separately from disk.Code:<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <link rel="stylesheet" href="/extjs/resources/css/ext-all-gray.css" /> </head> <body> <script src="extjs/ext.js"></script> <script src="app-all.js"></script> </body> </html>
What am I doing wrong?
Thanks i advance!
-
16 Jul 2011 3:40 AM #2
Where your calling the javascript function in the code.
try to call the classes in the html code from classes given in the javascript
Cegonsoft Corporate Training
-
19 Jul 2011 10:57 PM #3Sencha - Community Support Team
- Join Date
- Jan 2009
- Location
- Palo Alto, California
- Posts
- 1,941
- Vote Rating
- 6
Are you still seeing this behavior? Did you wrap your startup code inside an Ext.onReady call?
Ext JS Senior Software Architect
Personal Blog: http://edspencer.net
Twitter: http://twitter.com/edspencer
Github: http://github.com/edspencer
-
22 Jul 2011 12:36 AM #4
It's OK. My fault when making .jsp3 file and building application.
-
22 Jul 2011 2:36 PM #5Sencha - Community Support Team
- Join Date
- Jan 2009
- Location
- Palo Alto, California
- Posts
- 1,941
- Vote Rating
- 6
Cool, glad it worked out
Ext JS Senior Software Architect
Personal Blog: http://edspencer.net
Twitter: http://twitter.com/edspencer
Github: http://github.com/edspencer
-
24 Oct 2011 4:31 AM #6
How did you resolve please ? I have the same problem ....
Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote