PDA

View Full Version : cell editing grid loader path



bunty
22 Sep 2012, 7:59 AM
hi all,

i am using the cell editing grid in my app. The js file has this:


Ext.Loader.setPath('Ext.ux', '../ux');

what will be the replacement for the relative path in my workspace?


'../ux');

i tried using:


F:\Softwares\EclipseForJavaScript\extjs-4.1.1\examples\ux

but did not worked

please help.

regards,

scottmartin
22 Sep 2012, 2:27 PM
The Cell Editing plugin is included in the main source. You do not need to provide a UX path.
As for including a path, it should be relative to your app directory and not a hard path from your drive, but your web server.

Scott.

bunty
22 Sep 2012, 6:33 PM
Hi,

I pasted the ux folder in my workspace and provided the relative path but it did not worked.

The JSP page path is:

E:\Demo\WebContent\jsp

i.e. jsp folder present inside web content contains all the jsp files to be used.

I have copied the ux directory from extjs-sdk folder and pasted it in the path:

E:\Demo\WebContent

i.e. WebContent folder contains the ux folder copied from extjs directory.

As you suggested, I changed the directory path to relative path:

Ext.Loader.setPath('Ext.ux', '../ux');

But it is not working.

I am using Apacha Tomcat present in this directory:

C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps

The ExtJs sdk is stored in F:\ drive.

Can you please explain/give a sample example of the path you want to mean in your last post?

Regards,

scottmartin
25 Sep 2012, 5:27 AM
Please excuse my confusion .. in reading your original post, this has to do with using the cellediting plugin, correct.

I am not sure where the UX path is an issue since it is not needed to use this plugin:

http://jsfiddle.net/rWqQ4/

Please clarify.

Scott