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
2 answers

Gxt focus management

I am working with Gxt. I need to set focus to the first enabled field on the page. But I have a lot of pages and I want to centralize that behaviour. There is a lack of documentation in Gxt so I wonder if somebody has met such a problem and can help…
Zalivaka
  • 763
  • 2
  • 13
  • 20
5
votes
4 answers

GWT 2.1 and the Codehaus Maven plugin

Has anybody managed to get the release of GWT 2.1 to work with the Codehaus Maven plugin? http://mojo.codehaus.org/gwt-maven-plugin/ The 1.2 stable release does not seem to work. I found a version called 1.3.2 here in the SVN maven repo from…
benstpierre
  • 32,833
  • 51
  • 177
  • 288
5
votes
2 answers

call click() function as programmatically in GWT

i want to call click event function for Button in GWT... I tried this code but it is not working.. Button btnAddField = new Button(); btnAddField.setText("Add"); btnAddField.setWidth("225px"); btnAddField.addClickHandler(new…
Kandha
  • 3,659
  • 12
  • 35
  • 50
5
votes
2 answers

GWT: Add an event handler on all div elements

How to add an event handler on all div elements with GWT? I tried the following code but the window alerts are not fired up (But "etvoila" class is set up): private NodeList pageDIVElements; public void initDiv() { MyDIVEventHandler…
djondal
  • 2,521
  • 3
  • 24
  • 40
5
votes
2 answers

Creating Apps In Google Web Toolkit, Hosting Options?

So i have been looking into GWT and it does look pretty interesting as i do have experience in programming in java and being able to create webapps does look very interesting to me. I have looked at some of the basic tutorials and have got GWT…
5
votes
2 answers

passing an object to the constructor of a widget defined in uibinder

I'm trying to pass my app's EventBus to a widget declared in a UiBinder via its constructor. I'm using the @UiConstructor annotation to mark a constructor that accepts the EventBus, but I don't know how to actually reference the object from my…
Riley Lark
  • 20,660
  • 15
  • 80
  • 128
5
votes
1 answer

How to inject Session/User object after bootstrapping?

There are examples where different kinds of objects are getting injected into a presenter, but I can't find an explanation how this can be done. In the Bootstrap-Code example they are injecting e.g. a SecurityDelegate object. Also in the Gatekeeper…
Stefan Falk
  • 23,898
  • 50
  • 191
  • 378
5
votes
1 answer

Setting header text of a DisclosurePanel dynamically while preserving the arrow icon?

I'd like to set the text in DisclosurePanel's header without having to re-construct the image/icon used by the default header. Using customHeader means the arrow-icon is lost, in other words that seems like unreasonable amount of extra work. EDIT:…
Jaroslav Záruba
  • 4,694
  • 5
  • 39
  • 58
5
votes
3 answers

twitter4j.TwitterException: 401:Authentication credentials were missing or incorrect

I am developing web based application in Java [GWT] I am facing problem with TwitterException. I used valid credential. Twitter twitter = new Twitter(myTwitterId, myTwiterPwd); when I call twitter.getFollowers() method I got following Error…
StackOverFlow
  • 4,486
  • 12
  • 52
  • 87
5
votes
2 answers

GWT MVP Example

Does anyone know a good production scale open source project written with GWT and the MVP pattern. I am flip flopping on a few approaches to design and wanted to see if I could find a project that tackled similar issues.
Lumpy
  • 3,632
  • 4
  • 34
  • 58
5
votes
3 answers

GWT Development Mode with Eclipse/Maven

I am just starting with GWT. I use Eclipse and have installed the GWT plugin. I have followed the directions here Maven GWT 2.0 and Eclipse to set up a GWT project using the gwt-maven-plugin. When I run the Maven goals gwt:compile gwt:run, GWT…
sdoca
  • 7,832
  • 23
  • 70
  • 127
5
votes
1 answer

Debugging in Eclipse GWT

Since yesterday I've been working on an existing GWT project. My problem however is that I can't debug in Eclipse. It simply won't break in my breakpoints. I've seen other people with the same issue: GWT 2.0 Eclipse Breakpoint Not Working Why when…
Kevin Cruijssen
  • 9,153
  • 9
  • 61
  • 135
5
votes
1 answer

Using in production?

From my understanding, with collapse-all-properties in gwt.xml, the compiler produces one permutation for all browsers. And the resulting files are 15% to 20% larger. Other than the increased file size, are there other reasons why I shouldn't use…
Ivan Yeh
  • 53
  • 5
5
votes
2 answers

CellTable click swallowed

I've an combo box which is composed of a text field and a popup with a CellTable showing the suggestion items. The text field has a change handler that updates the CellTable's selection. When typing a character and clicking an already selected…
Dan L.
  • 1,717
  • 1
  • 21
  • 41
5
votes
5 answers

GWT support for HTML5

Does GWT support HTML5? I mean especially Canvas and WebSockets? Regards
cubesoft
  • 3,448
  • 7
  • 49
  • 91