oz-on
3 Nov 2011, 6:36 AM
Hi
I built my application and everything loads fine if I use ext.js as ExtJS library. ext.js obiviously loads the necessary classes on the fly. Instead of doing this, I want to use ext-all.js to avoid loading, want to load once and cache.
However, I get an error:
a is undefined
(function(){var e=this,a=Object.protot...ate("Ext.XTemplate",j,g)}return j}}); (http://www.sencha.com/forum/"{href}")
With ext-all-debug.js it says:
panel is undefined
store = panel.store;
My production.html file:
<html>
<head>
<title>App-all</title>
<link rel="stylesheet" type="text/css" href="ext/resources/css/ext-all.css">
<link rel="stylesheet" type="text/css" href="resources/css/pims-theme.css">
<script type="text/javascript" src="lib/extjs.4.0.7/ext-all.js"></script>
<script type="text/javascript" src="app-all.js"></script>
</head><body></body>
</html>
Any ideas? Can someone point me in the right direction to solve the issue please?
I'm using ExtJS 4.0.7
Thanks
I built my application and everything loads fine if I use ext.js as ExtJS library. ext.js obiviously loads the necessary classes on the fly. Instead of doing this, I want to use ext-all.js to avoid loading, want to load once and cache.
However, I get an error:
a is undefined
(function(){var e=this,a=Object.protot...ate("Ext.XTemplate",j,g)}return j}}); (http://www.sencha.com/forum/"{href}")
With ext-all-debug.js it says:
panel is undefined
store = panel.store;
My production.html file:
<html>
<head>
<title>App-all</title>
<link rel="stylesheet" type="text/css" href="ext/resources/css/ext-all.css">
<link rel="stylesheet" type="text/css" href="resources/css/pims-theme.css">
<script type="text/javascript" src="lib/extjs.4.0.7/ext-all.js"></script>
<script type="text/javascript" src="app-all.js"></script>
</head><body></body>
</html>
Any ideas? Can someone point me in the right direction to solve the issue please?
I'm using ExtJS 4.0.7
Thanks