Questions tagged [gwt]

GWT (formerly the Google Web Toolkit) is a development toolkit for building and optimizing complex browser-based applications. Its goal is to enable productive development of high-performance web applications without requiring the developer to be an expert in browser quirks, XMLHttpRequest, and JavaScript. GWT is used by many products at Google, including the new versions of AdWords and Groups. It's open source and completely free (Apache 2.0 licensed).

GWT (formerly the Google Web Toolkit) is a development toolkit for building and optimizing complex browser-based applications. Its core feature is the Java to JavaScript compiler.

The official docs cover all the basics and advanced topics – it's a great place to start and you'll often come back to it when you want to expand your knowledge of the framework. The docs are sprinkled with example code, but if that's not enough for you, there are always the samples that come with the GWT bundle.

For more esoteric topics the GWT Google Group might be of help. Latest stable version of GWT is 2.8.2 (2017-10-19)

Interesting links

Useful libraries

20828 questions
5
votes
1 answer

How do I add a build.xml to an existing GWT project in Eclipse?

I have a running Java GWT application, that I can compile using Eclipse. Now I wan't to also be able to build this application from the command line using ant. As of my understanding I therefore need a build.xml file. I used the webAppCreator tool,…
JochenJung
  • 7,183
  • 12
  • 64
  • 113
5
votes
2 answers

How do you use GWT's SimpleEventBus or EventBus?

I'm working on developing some simple graphing software which needs to be implemented in both swing and gwt. On the gwt side, I'm going to use gwt-g2d for the canvas. I was hoping to use an eventbus across both implementations to simplify some of…
Brian
  • 1,026
  • 11
  • 18
5
votes
2 answers

Variable returns undefined

I am receiving undefined for the variable called: names Any help on why it is not displaying the results. It will display in the logger but not on the index.html or the web side after search is pressed. code: // var names =[]; //I tried using a…
OblongMedulla
  • 1,471
  • 9
  • 21
5
votes
2 answers

gwt change meta tag

I would like to change the meta tag in gwt and I have found the metaElement class. But how can I use it?
Gordon Lim
  • 51
  • 1
  • 2
5
votes
2 answers

Create Document in CouchDB 2.0 fauxton using Java

I created a default GWT project and trying to create a document in the database with a simple entry using CouchDB as my database. Previously we were using CouchDB 1.6 i.e futon as UI. Now, recently trying to use CouchDB 2.0 i.e Fauxton as UI.…
Vartika
  • 1,085
  • 3
  • 17
  • 43
5
votes
4 answers

Bundling Javascript into a GWT app

I'm writing an app in GWT (mapfaire.com) which uses the Google Maps API, and I'd like to use the utilities library. Writing a JSNI wrapper for the libraries isn't a problem, but how do I ensure the compiler 'bakes' the JS into the app itself, rather…
Sudhir Jonathan
  • 16,998
  • 13
  • 66
  • 90
5
votes
1 answer

Finding out when a GWT module has loaded

I am exporting a GWT method to native javascript in the following manner: public class FaceBookGalleryEntryPoint implements EntryPoint { @Override public void onModuleLoad() { FacebookGallery facebookGallery = new…
Robert Munteanu
  • 67,031
  • 36
  • 206
  • 278
5
votes
1 answer

GWT StackPanel limitation?

Is there a component like the StackPanel or DecoratedStackPanel that has the ability of showing more than one panel in the stack at a time? Id like to have the option of expanding all or collapsing any number of the panels I want.
stuff22
  • 1,662
  • 4
  • 24
  • 42
5
votes
1 answer

problem with jetty classpath when working with gwt and jsp

Hi I have created an ajax application using GWT. And I have created just one jsp file that connects to my data access layer to get some information to show them to user. In my jsp file I have imported some of my classes in that jsp file to use…
Mehdi
  • 4,396
  • 4
  • 29
  • 30
5
votes
4 answers

Maven - Copying resources from client project to webapp

I have a project which consists of GWT client end and a Tomcat server end. Everything is setup using maven. However, I want the client's HTML and CSS files (which reside in the resources folder) to be copied to the server projects webapp directory.…
GlGuru
  • 756
  • 2
  • 10
  • 21
5
votes
3 answers

Is there any way to create something similar to Javascript's alert in GWT?

Hi is there any way to create something similar to Window.alert() in GWT? Basically I wanted to customize the Window.alert()'s "Ok" button to say something else but as I researched there is no way to customize the alert boxes. Thanks.
user_1357
  • 7,766
  • 13
  • 63
  • 106
5
votes
3 answers

How to know if an object is 'too large' for RPC in GWT and IE8?

I have an app that works fine in Firefox but when I tested in in IE8, I got a strange error : 'Stack overflow at line: 0' After a suggestion from the GWT discussion group that it could be related to large/complex objects being returned from RPC…
user26270
  • 6,904
  • 13
  • 62
  • 94
5
votes
1 answer

GAE/GWT: Error loading modules: Unable to find 'com/androidstartup/serialization/KPadProject.gwt.xml'

I am using Eclipse 3.5 with GAE SDK 1.3.7 and GWT SDK 2.1.0 and Restlet 2.0.3. When I run my app, the console log shows: Loading modules com.androidstartup.serialization.KPadProject [ERROR] Unable to find…
Damasia
  • 155
  • 2
  • 8
5
votes
2 answers

GWT RPC response header

Is there any way to read the header information received by GWT client, on the RPC response? Response header Server Apache-Coyote/1.1 Set-Cookie JSESSIONID=3379B1E57BEB2FE227EDC1F57BF550ED; Path=/GWT Content-Encoding …
JuDaC
  • 85
  • 1
  • 5
5
votes
2 answers

GWT - Error constructing Java AST

What could possibly be causing this error during compilation? I have generated project from this archetype https://github.com/ArcBees/Arcbees-Archetypes and I have changed only thing - update GWT to 2.8.0 and GWTP to 1.5.3. [INFO] [ERROR] An…
leiblix
  • 626
  • 1
  • 8
  • 21