PDA

View Full Version : ExtJS javascript include problem.



onuraktas
24 Feb 2010, 11:02 PM
Hi,

Everything works well when I include whole javascript files. But when I want to include as separate javascript files (for decreasing the size of javascript files) its simply broken and does not work.

Currently I'm using like below:

<script type="text/javascript" src="js/external/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="js/external/ext-base.js"></script>
<script type="text/javascript" src="js/external/ext-all.js"></script>

But it makes me import all unused libraries which I dont want to do. Can you please help to include minimal dependencies for the following components?

Ext.form.DateField
Ext.MessageBox
Ext.ProgressBar
Ext.Button
Ext.Window
Ext.menu.Menu
Ext.SplitButton

Thanks.
Onur

realjax
24 Feb 2010, 11:57 PM
You would want to build your own extjs version. Doing so depencies are respected. Check the learning center.

onuraktas
25 Feb 2010, 11:01 PM
Hi,

"Build your own version" is perfect, exaclty what I'm looking for.. I'm currently using 3.1.0 version of Ext, do we have a chance to build for 3.1.0 also? Any plans for supporting 3.1.0 version?

Thanks.

jjulian
26 Feb 2010, 7:56 AM
See this tutorial (http://www.extjs.com/learn/Tutorial:Building_Ext_From_Source). You'll want to use the svn Java builder, not the online tool.