Main Page
From GWT-Ext
Contents |
Getting started
Welcome to GWT-Ext, the library which helps tie together the functionality of the Google Web Toolkit and the widgets available in the ExtJS javascript library. This page provides all the information you need to quickly start creating GWT-Ext applications. The Examples section of this wiki contains some comprehensive examples which explore the functionality of the GWT-Ext library.
You can download the latest release of the GWT-Ext library from the downloads section of this website.
Before you begin, (assuming you've got the latest JDK installed on your machine and the JAVA_HOME system variable has been defined) you will have to download and install the Google Web Toolkit from the toolkit's home page. After downloading the API, extract it to your applications folder (C:\Program Files\Google Web Toolkit on a Microsoft Windows based machine for example). That should complete the installation of GWT.
The Introduction to GWT-Ext tutorial is a good place to start building your applications.
The Forums are well supported by a dedicated community and should be a good place to post your questions and get help with coding issues. Some common issues and their solutions provided by forum users have been collected here.
Starting with v2.0.3, Gwt-Ext has added support for Maps, Charts, Portals and other goodies. Demos are included in the showcase. A blog entry on adding maps to Gwt-Ext applications can be found here.
Information for advanced users is given below.
Using Eclipse
Using Eclipse to develop your GWT-Ext code helps you utilize the built-in tooling available with the IDE and access the myriad plugins which Java developers swear by. Together with Cypal Studios' GWT plugin for Eclipse, developing GWT-Ext applications is a breeze. A complete guide to setting up Eclipse to build GWT applications is available in this page.
Screencasts showing how to set things up, create a basic Ext form and save form data in a database are available at Showmedo.com. They can also be downloaded from http://www.gwt-ext.com/screencasts/. These screencasts have been recorded on Ubuntu Feisty using Eclipse Europa (Gwt 1.4, Ext 2.0 and Gwt-Ext 2.0.1).
- Screencast 1 shows how to set up GWT and Cypal studio eclipse plugin. We create a hello world project.
- Screencast 2 shows how to add Ext and Gwt-Ext libraries to the project and create an Ext form.
- Screencast 3 adds basic client-side regex validation to the form, adds a remote service and uses this service to save form data in an Oracle database.
Building from SVN
Checking out the GWT-Ext source is most useful if you plan to compile GWT-Ext yourself. The pre-built GWT-Ext distribution already contains all the Java source, so you don't actually need to check it out from the repository just to debug through it. Just tweak your IDE to read source from the GWT-Ext jars.
A complete guide to checking out the latest code is available on this page.
Developing GWT-Ext User Extensions
The following is a general guideline for creating a new GWT-Ext user extensions. In order to develop a new extension it's recommended to checkout both GWTExt and GwtExtUx projects from SVN into Eclipse (see "Using Eclipse", and "Building from SVN" above) and make sure you're able to run both the Showcase2 demos (GWTExt's and GwtExtUx's).
* User Extensions - Developer's Guide
