Quick Setup for Ext GWT 2.X
===========================
Note : Ext GWT 2.X requires GWT 1.6.x
STEP 1 -> Create a GWT 1.6.x project within Eclipse.
Copy the contents of the /resources folder in the download to a {foldername} location with your war folder.
Substitute {foldername} with the name of the folder you've created for resources within your war folder.
STEP 3 -> Add the following stylesheet to your host page.
<link rel="stylesheet" type="text/css" href="{foldername}/css/gxt-all.css" />
STEP 3b -> If you are using Charts, add the following script to your host page.
<script language='javascript' src='{foldername}/flash/swfobject.js'></script>
STEP 4 -> Add the following entry to you projects module xml file.
<inherits name='com.extjs.gxt.ui.GXT'/>
STEP 5 -> Ext GWT requires the following doctype (quirksmode).
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
STEP 6 -> Eclipse Setup (should be similar for other development environments)
These instructions assume you have a existing project and launch configuration.
1. Add gxt.jar to the project.
a. Right click on project name in 'Package Explorer'.
b. Select 'Properties' from content menu.
c. Select 'Java Build Path'.
d. Select 'Libraries' tab.
e. Add the gxt.jar either with 'Add JARs...' or 'Add External JARs...'.
Partager