PDA

View Full Version : Using GeoExt 2 with ExtJs 4.2 and Netbeans



egyszervolt
16 Jun 2014, 4:01 AM
Hi!

I have created a new project in Netbeans 7.4 with the cmd plugin. It works well, but I want to use GeoExt 2 in this project also. So how can I integrate the GeoExt in the application?

Gary Schlosberg
16 Jun 2014, 12:08 PM
If you are asking how to install it, I'd recommend checking out the GeoExt forum. Their site has a Join the Discussion link leading to a mail list, so that might be a good place to start.

The doc page "Incl. ExtJS classes" has many examples that might help.
http://geoext.github.io/geoext2/docs-w-ext/#!/example

I imagine the download might have installation instructions.

burton449
17 Jun 2014, 4:07 AM
Hi!

I have created a new project in Netbeans 7.4 with the cmd plugin. It works well, but I want to use GeoExt 2 in this project also. So how can I integrate the GeoExt in the application?

Take a look to the loader.js file inside GeoExt2 source directory.

You load GeoExt2 using Ext.Loader like this:


Ext.Loader.setConfig({
enabled: true,
disableCaching: false,
paths: {
GeoExt: "/path_to/geoext2/src/GeoExt",
}
});