Questions tagged [gwt2]

GWT is an open source and free framework made by Google.

Google Web Toolkit (GWT) is a development toolkit for building and optimizing complex browser-based applications. GWT is used by many products at Google, including Google AdWords and Orkut. It's open source, completely free, and used by thousands of developers around the world.

The coolest thing GWT provides is that it makes the developer create rich web applications without knowledge of JavaScript. It makes developers write code in Java and it compiles into JavaScript specifically made and optimized for each browser, providing cross-browser compatibility and security and raising developer productivity.

GWT 2.x supports:

  • Development mode
  • Layout panels
  • Bundled client resources
  • Editors framework
  • RequestFactory
  • MVP framework
  • Cell widgets
  • SafeHtml

You can find more about it at GWT's official web site.

412 questions
7
votes
1 answer

How to implement i18n in GWT application?

I have a problem with internationalization. I'm trying to implement support two languages ​​in my GWT application. Unfortunately I never found a complete example how to do it with the help of UiBinder. That is what I did: My module…
François Esthète
  • 855
  • 2
  • 9
  • 15
6
votes
3 answers

IncompatibleRemoteServiceException: This application is out of date, please click the refresh button on your browser

My GWT Project was working fine but today, after some changes and adding new fetures one async call is not executed. The exception is "This application is out of date, please click the refresh button on your browser." all other async calls are…
NewCodeLearner
  • 738
  • 3
  • 14
  • 38
6
votes
8 answers

GWT: The response could not be deserialized

I'm using GWT (2.4) with Spring integrated as in this article. I have problem with getting list of User from database (Hibernate) and populate DataGrid with it. When i call greetingService.allUsers() method, I'm getting error (onFailure()):…
marioosh
  • 27,328
  • 49
  • 143
  • 192
6
votes
4 answers

Add a widget (button) to HTML5 canvas in GWT

In smartGWT it is possible to add another widget (seems to use an interface) to an HTML5-canvas, as you can see in this example. Now I'm trying to figure out, if this is possible in (raw) GWT2.4 too. Has anybody of you a working example using GWT…
Erik
  • 3,777
  • 21
  • 27
6
votes
2 answers

GWT client-side HTML5 database storage (Web SQL Database)

I wonder if there is an API for using Database Storage in GWT 2.x or I should use native code like this instead? var database = openDatabase("Database Name", "Database Version"); database.executeSql("SELECT * FROM test", function(result1) { //…
Anthony
  • 12,407
  • 12
  • 64
  • 88
6
votes
4 answers

How to do single row expansion with CellTable?

I'm trying to use the new GWT CellTable widget but my table needs to support one row expansion, i.e. there is a zippy on the left of a row and when it's clicked, the row should expand to provide more detail information and this row should span…
smallbec
  • 429
  • 5
  • 10
6
votes
1 answer

What are pros and cons of gwt? And why should I should choose it to use?

I am still a beginner in GWT. I want to know preferable features of GWT rather than other frameworks. And has there any advantages or disadvantages on using GWT ? I asked this question due to below external links... Pros and Cons of Google Web…
Cataclysm
  • 7,592
  • 21
  • 74
  • 123
5
votes
4 answers

GWT manually serialize domain object on server

The first thing my GWT app does when it loads is request the current logged in user from the server via RequestFactory. This blocks because I need properties of the User to know how to proceed. This only takes < 500ms, but it really annoys me that…
Brad
  • 5,428
  • 1
  • 33
  • 56
5
votes
1 answer

CSS class definition doesn't work inside element

Could you guys tell me why css class definition doesn't work in following example ? I'm using GWT 2.4 + Chrome 17.
expert
  • 29,290
  • 30
  • 110
  • 214
5
votes
1 answer

How to get image with servlet and display it using GWT Image class?

I'm using the following code as part of the GWT server-side class (servlet) for GWT-RPC. private void getImage() { HttpServletResponse res = this.getThreadLocalResponse(); try { // Set content type …
Fotinopoulos Giorgos
  • 1,027
  • 3
  • 17
  • 36
5
votes
4 answers

GWT Anchor to Place?

In a GWT 2.1+ app, how can I generate a link to a place for external consumption? For instance, say I want to create a link to Place1. For internal consumption I could do presenter.goTo(new Place1("token")). How can I make this into an Anchor or…
Justin
  • 9,419
  • 7
  • 34
  • 41
5
votes
1 answer

How to use imported css styles in GWT correctly

Imagine you created the following simple widget with UiBinder:
Eduard Wirch
  • 9,785
  • 9
  • 61
  • 73
4
votes
1 answer

URL fetch request size in googleaapengine

I am doing a web application project using GWT in Eclipse. I have a file on the client side which is to send on the project.server and from server to external Repository. File | V Client-->Server-->Repository Iam Using default SDk…
NewCodeLearner
  • 738
  • 3
  • 14
  • 38
4
votes
1 answer

Big list of events in GWT EventBus

In the examples provided by Google Web toolkit that they are adding the event handlers in one class only for the whole application. As in - for Module1, 2 and 3 all events are registered in the main AppController class. I find this a bit monolithic…
techzen
  • 2,895
  • 2
  • 22
  • 22
4
votes
1 answer

GWT (event.getCharCode) behaves differently in IE and Firefox

I was going through the tutorial available on GWT website for StockWatcher application and testing the application as described in Step4: Manage Events on the Client. Below piece of code behaves differently in Firefox and IE7. In IE7 this works…
Vicky
  • 5,380
  • 18
  • 60
  • 83
1 2
3
27 28