PDA

View Full Version : the problem about ext-all.js file



ouyang
5 Aug 2009, 6:50 PM
I have a problem about ext-all.js file .
then i don't want to quote this file on my page .
if mypage layout is very simple just a treePanel and gridPanel .
ext-all.js is too big for it .
for example , now every page I do the same operation
<script type="text/JavaScript" src="ext-base.js"></script>
<script type="text/JavaScript" src="ext-all.js"></script>

so ...I want get a solution about how to split ext-all.js .
like this if I just use treePanel or gridPanel and so on other components . singleton...



Which files should be loaded ?


and i hope someone could tell me about load which js file could prepare for all component .





is <script type="text/JavaScript" src="ext-base.js"></script> ..?


help me ...


thanks ...

Animal
5 Aug 2009, 9:26 PM
You can use the JSBuilder to build a cut down version of Ext.

Best wait until you know more to do that though.

Until then, just use ext-all.js

Animal
5 Aug 2009, 10:31 PM
http://extjs.com/learn/Tutorial:Building_Ext_From_Source#JS_Builder

ouyang
6 Aug 2009, 7:40 AM
http://extjs.com/learn/Tutorial:Building_Ext_From_Source#JS_Builder
OK.thank you.