<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-7896748905484489239</id><updated>2011-08-01T11:15:08.793-07:00</updated><title type='text'>How to setup Ext js-GWT : GXT andExample on Eclipse Ganymede 3.4</title><subtitle type='html'>This article show you How to setup Extjs-GWT on Eclipse Ganymede</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://extjs-gwt.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7896748905484489239/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://extjs-gwt.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>iConner</name><uri>http://www.blogger.com/profile/17930868516550289341</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>1</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7896748905484489239.post-1830709189439585980</id><published>2009-01-04T02:30:00.000-08:00</published><updated>2010-02-02T03:36:40.523-08:00</updated><title type='text'>How to setup Ext js-GWT : GXT and Example on Eclipse Ganymede 3.4</title><content type='html'>&lt;iframe src="http://rcm.amazon.com/e/cm?t=iconner-20&amp;o=1&amp;p=13&amp;l=bn1&amp;mode=electronics&amp;browse=172623&amp;fc1=000000&amp;lt1=&amp;lc1=3366FF&amp;bg1=FFFFFF&amp;f=ifr" marginwidth="0" marginheight="0" width="468" height="60" border="0" frameborder="0" style="border:none;" scrolling="no"&gt;&lt;/iframe&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="contend"&gt;Starting today studied Ext js-GWT : GXT (I also just to contact, everybody enhanced  together, study) is also mygwt joins extjs camp later new  edition (gxt1.2), about gxt (ext gwt) with the gwt-ext difference,  please voluntarily consult the correlation data.&lt;br /&gt;&lt;br /&gt;Explained once more: Studies gwt-ext, but is, Ext GWT (old name MyGWT)  is one opens the source the Google Web Toolkit expansion, it helps the  development personnel to found AJAX Web very easily the application.  Ext GWT : GXT is 100% based on GWT, does not need any extra JavaScript or  other third party jar. Ext GWT is also a Ext JS sub-project.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Ext GWT: GXT Rich Internet Application Framework for GWT:&lt;/b&gt; Official website:  &lt;i class="aa"&gt;http://extjs.com/products/gxt/&lt;/i&gt;, inside has the rich example and the api  documents.&lt;br /&gt;&lt;div&gt;&lt;br /&gt;___________________________________________________&lt;br /&gt;&lt;h2&gt;First, Constructs Eclispe Ganymede 3.4 the development environment for Ext js-gwt&lt;/h2&gt;First, earlier period preparation&lt;br /&gt;&lt;br /&gt;(1) development kit:Java SDK6, correct installment and disposition. Eclipse Ganymede:eclipse V3.4, the downloading address is: &lt;span class="aa"&gt;http://www.eclipse.org/ganymede/&lt;/span&gt;; Decompression direct use.&lt;br /&gt;&lt;br /&gt;(2) is related jar the package:&lt;br /&gt;gwt-windows-1.5.3: The downloading  address is: &lt;span class="aa"&gt;http://code.google.com/webtoolkit/versions.htm&lt;/span&gt;l;  Decompresses treats the use, myself decompress directly to the D plate,  the dull meeting needs to use.&lt;br /&gt;gxt1.2: Downloading address:  &lt;span class="aa"&gt;http://extjs.com/products/gxt/;&lt;/span&gt; Decompresses treats the use.&lt;br /&gt;&lt;br /&gt;(3) GWT plug-in unit: &lt;span class="bbb"&gt;Eclipse Plugins for GWT&lt;/span&gt;:cypal.studio.gwt-1.0, the  downloading address is: &lt;span class="aa"&gt;http://code.google.com/p/cypal-studio/&lt;/span&gt;. After  the decompression, installs under table of contents /plugins direct  Copy to Eclipse then.&lt;br /&gt;&lt;br /&gt;2nd, disposes GWT the Home table of contents&lt;br /&gt;&lt;br /&gt;Opens Eclipse Window-Preferences-Cypal Studio to choose Gwt the table  of contents (i.e. the gwt-windows-1.5.3 table of contents).&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_QaOg2YCpny0/SWCSPMHu0SI/AAAAAAAAAAM/fOgFEsaWFxY/s1600-h/extjs-gwt+setup.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" rel="external nofollow"&gt;&lt;img alt="How to setup Ext js-GWT : GXT and Example on Eclipse" border="0" id="BLOGGER_PHOTO_ID_5287386752182309154" src="http://1.bp.blogspot.com/_QaOg2YCpny0/SWCSPMHu0SI/AAAAAAAAAAM/fOgFEsaWFxY/s400/extjs-gwt+setup.jpg" style="cursor: pointer; height: 254px; width: 400px;" title="How to setup Ext js-GWT : GXT and Example on Eclipse Ganymede 3.4" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;If has not presented Cypal Studio, explained that the plug-in unit has  not installed successfully. Must place the correct position. At the  same time, GWT Home, must certainly choose under the gwt-windows-1.5.3  decompression table of contents, when awaited construction set up  module jar not to be able to find, simultaneously had the possibility  to bring other questions. Ha-ha. I have had the mistake which is  bewildered.&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;___________________________________________________&lt;br /&gt;&lt;h2&gt;Second, compilation simple example&lt;/h2&gt;1st, the newly built dynamic web project, File-New-Other-Web-Dynamic  Web Project, chooses Cypal Studio for GWT in Configurations, other  defaults then. The attention, Target Runtime must certainly be, do not  choose the server, if has chosen the server, next step movement time  will appear exceptionally, but must manual delete it, therefore do not  choose the server, next will introduce on tomcate6 moves the  disposition. Here moves is moves under GWT own environment.&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_QaOg2YCpny0/SWCSPMHu0SI/AAAAAAAAAAM/fOgFEsaWFxY/s1600-h/extjs-gwt+setup.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" rel="external nofollow"&gt;&lt;img alt="Ext js-GWT : GXT and Example on Eclipse Ganymede setup" border="0" id="BLOGGER_PHOTO_ID_5287386752182309154" src="http://1.bp.blogspot.com/_QaOg2YCpny0/SWCSPMHu0SI/AAAAAAAAAAM/fOgFEsaWFxY/s400/extjs-gwt+setup.jpg" style="cursor: pointer; height: 254px; width: 400px;" title="setup Ext js-GWT : GXT Eclipse " /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;2nd, founds the Module model  &lt;br /&gt;&lt;br /&gt;1.In the project clicks on right key New-Other-Cypal Studio-Module, input package of org.gxt, kind of Test&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_QaOg2YCpny0/SWCTqn8ScHI/AAAAAAAAAAc/fjfzJpNApBM/s1600-h/extjs-gwt+project.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" rel="external nofollow"&gt;&lt;img alt="Ext js-GWT : GXT and module information" border="0" id="BLOGGER_PHOTO_ID_5287388323018600562" src="http://3.bp.blogspot.com/_QaOg2YCpny0/SWCTqn8ScHI/AAAAAAAAAAc/fjfzJpNApBM/s400/extjs-gwt+project.jpg" style="cursor: pointer; height: 380px; width: 400px;" title="Ext js-GWT : GXT and module information" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;2.Specific Ext js-GWT class information.&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_QaOg2YCpny0/SWCURLkWfDI/AAAAAAAAAAk/hPhTW-MbUtQ/s1600-h/extjs-gwt+module+create.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" rel="external nofollow"&gt;&lt;img alt="Specific Ext js-GWT class information" border="0" id="BLOGGER_PHOTO_ID_5287388985416907826" src="http://1.bp.blogspot.com/_QaOg2YCpny0/SWCURLkWfDI/AAAAAAAAAAk/hPhTW-MbUtQ/s400/extjs-gwt+module+create.jpg" style="cursor: pointer; height: 385px; width: 400px;" title="Specific Ext js-GWT class information" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;After founding successfully, the correct project is:&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_QaOg2YCpny0/SWCUfjifg4I/AAAAAAAAAAs/85EFYrffDSY/s1600-h/extjs-gwt+eclipse+explorer.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" rel="external nofollow"&gt;&lt;img alt="Extjs-Gwt project Explorer structure and Example" border="0" id="BLOGGER_PHOTO_ID_5287389232369730434" src="http://4.bp.blogspot.com/_QaOg2YCpny0/SWCUfjifg4I/AAAAAAAAAAs/85EFYrffDSY/s400/extjs-gwt+eclipse+explorer.jpg" style="cursor: pointer; height: 237px; width: 278px;" title="Extjs-Gwt project Explorer structure and Example" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;3. joins Window.alert in the Test.java onModuleLoad() method (" success");&lt;br /&gt;&lt;pre class="java"&gt;package org.gxt.client;&lt;br /&gt;import com.google.gwt.core.client.EntryPoint;&lt;br /&gt;import com.google.gwt.user.client.Window;&lt;br /&gt;public class Test implements EntryPoint {&lt;br /&gt;public void onModuleLoad() {&lt;br /&gt;Window.alert("success");&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;___________________________________________________&lt;br /&gt;&lt;h2&gt;Third, disposition movement environment &lt;/h2&gt;Chooses Run-Run Configurations-Gwt Hosted Mode Application, chooses  New, newly built movement example new_gxt, chooses Gxt in Project,  model class Test.java which the Module automatic selection will  probably move.&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_QaOg2YCpny0/SWCU9R0jNXI/AAAAAAAAAA0/3JwIRQciqHc/s1600-h/extjs-gwt-gxt+main+run.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" rel="external nofollow"&gt;&lt;img alt="prepare Extjs-GWT example project" border="0" id="BLOGGER_PHOTO_ID_5287389743009707378" src="http://3.bp.blogspot.com/_QaOg2YCpny0/SWCU9R0jNXI/AAAAAAAAAA0/3JwIRQciqHc/s400/extjs-gwt-gxt+main+run.jpg" style="cursor: pointer; height: 295px; width: 400px;" title="prepare Extjs-GWT example project" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Clicks on Run, automatic start GWT movement environment:&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_QaOg2YCpny0/SWCVevtTMoI/AAAAAAAAAA8/q4rB3xnJCEQ/s1600-h/extjs-gwt-run-error.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" rel="external nofollow"&gt;&lt;img alt="Create Extjs-Gwt gxt Example project on Eclipse" border="0" id="BLOGGER_PHOTO_ID_5287390317968044674" src="http://4.bp.blogspot.com/_QaOg2YCpny0/SWCVevtTMoI/AAAAAAAAAA8/q4rB3xnJCEQ/s400/extjs-gwt-run-error.jpg" style="cursor: pointer; height: 267px; width: 400px;" title="Create Extjs-Gwt gxt Example project on Eclipse" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;ok, moves successfully.&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;___________________________________________________&lt;br /&gt;&lt;h2&gt;Fourth, compiles ext gwt the window test model.&lt;/h2&gt;The above has not had usefully to the Extjs gxt1.2 folder's in thing, now  should use it. Deletes the WebContent folder, a newly built lib folder,  has duplicated gxt.jar to lib under.&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_QaOg2YCpny0/SWCVugY8CRI/AAAAAAAAABE/EOVoDHZ53f4/s1600-h/extjs-gwt-gxt%3Dlibrary.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" rel="external nofollow"&gt;&lt;img alt="Run Extjs-Gwt gxt Example on Eclipse" border="0" id="BLOGGER_PHOTO_ID_5287390588734015762" src="http://1.bp.blogspot.com/_QaOg2YCpny0/SWCVugY8CRI/AAAAAAAAABE/EOVoDHZ53f4/s400/extjs-gwt-gxt%3Dlibrary.jpg" style="cursor: pointer; height: 237px; width: 278px;" title="Run Extjs-Gwt gxt Example on Eclipse" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Increases lib/gxt.jar to Java Build Path inside&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_QaOg2YCpny0/SWCWLrsGluI/AAAAAAAAABM/W8loq3zHpU4/s1600-h/extjs-gwt-gxt-example.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" rel="external nofollow"&gt;&lt;img alt="Add Extjs-Gwt: GXT1.2 Library to Eclipse Project" border="0" id="BLOGGER_PHOTO_ID_5287391089983395554" src="http://3.bp.blogspot.com/_QaOg2YCpny0/SWCWLrsGluI/AAAAAAAAABM/W8loq3zHpU4/s400/extjs-gwt-gxt-example.jpg" style="cursor: pointer; height: 289px; width: 400px;" title="Add Extjs-Gwt: GXT1.2 Library to Eclipse Project" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Joins in Test.gwt.xml (inherits GXT):&lt;br /&gt;&amp;gt;&amp;lt;inherits name='com.extjs.gxt.ui.GXT'/&amp;gt;&lt;br /&gt;Joins (default cascading style sheet) in Test.html:&lt;br /&gt;&amp;lt;link rel="stylesheet" type="text/css" href="css/ext-all.css" /&amp;gt;&lt;br /&gt;&lt;br /&gt;ok, the  onModuleLoad() method annotation falls Window.alert now in Test.java ("  success"); Meanwhile to avoid appearing repeatedly, deletes  com.google.gwt.user.client which already inducted. Window package;  Increases gxt com.extjs.gxt.ui.cl ient.widget. Window; The complete  code is as follows:&lt;br /&gt;&lt;pre class="java"&gt;package org.gxt.client;&lt;br /&gt;&lt;br /&gt;import com.google.gwt.core.client.EntryPoint;&lt;br /&gt;import com.google.gwt.user.client.ui.RootPanel;&lt;br /&gt;import com.extjs.gxt.ui.client.widget.Window;&lt;br /&gt;&lt;br /&gt;public class Test implements EntryPoint {&lt;br /&gt;public void onModuleLoad() {&lt;br /&gt;Window window=new Window();//Is equal in html div&lt;br /&gt;window.setSize(500,300);//Establishment highly with width&lt;br /&gt;window.setHeading("success");//Establishment title&lt;br /&gt;window.setPlain(true);//Establishes transparently&lt;br /&gt;window.show();&lt;br /&gt;RootPanel.get().add(window);  &lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Moves once more (movement environment which New_Gxt already established), the wish result appeared, ha-ha.&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_QaOg2YCpny0/SWCWgWMD-nI/AAAAAAAAABU/fXFAjHktBv0/s1600-h/extjs-gwt-gxt-create-ex.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" rel="external nofollow"&gt;&lt;img alt="Run Extjst-Gwt result for eclipse project" border="0" id="BLOGGER_PHOTO_ID_5287391444989114994" src="http://3.bp.blogspot.com/_QaOg2YCpny0/SWCWgWMD-nI/AAAAAAAAABU/fXFAjHktBv0/s400/extjs-gwt-gxt-create-ex.jpg" style="cursor: pointer; height: 218px; width: 400px;" title="Run Extjst-Gwt result for eclipse project" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Finally Result of running Ext js - GWT exampl:&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_QaOg2YCpny0/SWCWsalOhEI/AAAAAAAAABc/NI9l_mzR1LY/s1600-h/extjs-gwt-gxt-run-sucess.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" rel="external nofollow"&gt;&lt;img alt="Show Extjs-Gwt Example on result success" border="0" id="BLOGGER_PHOTO_ID_5287391652326835266" src="http://2.bp.blogspot.com/_QaOg2YCpny0/SWCWsalOhEI/AAAAAAAAABc/NI9l_mzR1LY/s400/extjs-gwt-gxt-run-sucess.jpg" style="cursor: pointer; height: 262px; width: 400px;" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;Presents the window correctly, ha-ha, success. Next disposes under  tomcate6, does not use the movement environment which gwt brings.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7896748905484489239-1830709189439585980?l=extjs-gwt.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://extjs-gwt.blogspot.com/feeds/1830709189439585980/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://extjs-gwt.blogspot.com/2009/01/how-to-setup-ext-js-gwt-gxt-and-example.html#comment-form' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7896748905484489239/posts/default/1830709189439585980'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7896748905484489239/posts/default/1830709189439585980'/><link rel='alternate' type='text/html' href='http://extjs-gwt.blogspot.com/2009/01/how-to-setup-ext-js-gwt-gxt-and-example.html' title='How to setup Ext js-GWT : GXT and Example on Eclipse Ganymede 3.4'/><author><name>iConner</name><uri>http://www.blogger.com/profile/17930868516550289341</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_QaOg2YCpny0/SWCSPMHu0SI/AAAAAAAAAAM/fOgFEsaWFxY/s72-c/extjs-gwt+setup.jpg' height='72' width='72'/><thr:total>6</thr:total></entry></feed>
