PDA

View Full Version : ajax module



nshah83
8 Jun 2011, 12:38 AM
My webpages are using AJAX functionality of Sencha. What are ajax related files? I don't want to include everything.

I tried the below code but it doesn't seem to work
<script type="text/javascript" src="js/ext-3.0.0/adapter/ext/ext-base.js"></script>
<!--
<script type="text/javascript" src="js/ext-3.0.0/ext-all.js"></script>
-->
<script type="text/javascript" src="js/ext-3.0.0/src/adapter/core/ext-base-ajax.js"></script>

Please advice..

jarlau
8 Jun 2011, 2:34 AM
use ext core, http://www.sencha.com/products/extcore/

nshah83
8 Jun 2011, 3:02 AM
I downloaded the folder but there are just examples. Can you please provide snippets or let me know the files that I need to include?

Will really appreciate your help.

jarlau
8 Jun 2011, 5:04 AM
in the examples of ext core, they only include the following:

<script src="../../ext-core-debug.js"></script>

or for production:
<script src="../../ext-core.js"></script>

nshah83
9 Jun 2011, 12:30 AM
I tried but it gives this
Error: Ext.LoadMask is not a constructor

Sorry ..I am somewhat a newbie to Sencha.

jarlau
9 Jun 2011, 2:49 AM
cause Ext.LoadMask is not ext core's class. it's extjs' class.

make sure what you want to do first. and visit http://www.sencha.com/products/extcore/ & http://www.sencha.com/products/extjs/ to check out the difference between these 2 products.

nshah83
9 Jun 2011, 10:05 PM
I want to use ExtJS. However, the problem is instead of loading the entire library (ext-all.js) I just want to load the files related to ajax.

I am building an application which only uses AJAX functionality of ExtJS.

Please guide the include files.

Thanks

jarlau
10 Jun 2011, 6:10 PM
then you need to modify ext.jsb2 which is under the root folder(e.g. ext-3.3.1/) to build a new ext-all.js by jsbuilder2.

nshah83
15 Jun 2011, 1:05 AM
By any chance do you have an active link to
http://www.sencha.com/products/extjs/build/

Currently, get Page Not Found Error...

jarlau
16 Jun 2011, 1:14 AM
http://www.sencha.com/products/extjs3/

and

http://www.sencha.com/products/jsbuilder

nshah83
16 Jun 2011, 1:31 AM
Thanks