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
9
votes
1 answer

gwt beginner- error "could not find any host pages in project'

I m trying to create a GWT app- it has a single HTML file (main.html) and the java class is main.java. In Eclipse, I did right click-> GWT -> Module and defined the new module correctly. However after adding some code, when I try to run the app in…
Arvind
  • 6,404
  • 20
  • 94
  • 143
9
votes
1 answer

How to hide column in Cell table GWT?

I am using Cell Table in GWT.In that cell table I am adding these columns. TextColumn idColumn = new TextColumn() { @Override public String getValue(Document object) { return…
Sanjay Jain
  • 3,518
  • 8
  • 59
  • 93
9
votes
2 answers

What is the best approach towards styling GWT applications?

General approach in GWT is to use Panels and then apply custom CSS themes to get a customized look. While I can achieve a certain extent of personalization of my GWT app through CSS tinkering, I was wondering how others generally approach…
Ashwin Prabhu
  • 9,285
  • 5
  • 49
  • 82
9
votes
2 answers

GWT Source Code Repo - GIT and SVN - which is the one to track for changes?

Which is the official gwt source code repo to be tracked for changes? The git way is here - https://gwt.googlesource.com/gwt/ The old svn way is here - http://code.google.com/p/google-web-toolkit/source/list Currently the git one is always updated…
appbootup
  • 9,537
  • 3
  • 33
  • 65
9
votes
1 answer

GWT Requestfactory performance suggestions

I am observing really bad performance when using GWT requestfactory. For example, a request that takes my service layer 2 seconds to fullfil is taking GWT 20 seconds to serialize. My service is returning ~100 what will be EntityProxies. Each of…
Brad
  • 5,428
  • 1
  • 33
  • 56
9
votes
3 answers

How to create GWT JsArray?

I need to convert values of type T into JsArray. For example, I have String1, String2 .... Stringn. I need to convert these Strings into JsArray string. How can I implement this?
Gnik
  • 7,120
  • 20
  • 79
  • 129
8
votes
1 answer

RequestFactory theory: Why is Locator<>.find() being called so often?

I'm new to RequestFactory but with generous help of Thomas Broyer and after reviewing documents below it's getting much better :) Getting Started with RequestFactory Request Factory Moving Parts RequestFactory changes in GWT 2.4 But could you…
expert
  • 29,290
  • 30
  • 110
  • 214
8
votes
2 answers

How to limit the available Date ranges with the com.google.gwt.user.datepicker.client.DateBox

I need to limit what Dates a user can pick from the com.google.gwt.user.datepicker.client.DateBox. I can't seem to figure out how to limit the min Date so they can't pick past dates. If I can't do this with…
user177800
8
votes
4 answers

GPE for Eclipse Indigo Installation Error

I'm trying to use Eclipse Indigo with Google Plugin for Eclipse (GPE), but can't found GPE 3.7. I mean, that i'll be satisfied with GPE 3.6. Now i have this error with GPE3.6 installation: Cannot complete the install because one or more required…
Neo
  • 81
  • 1
  • 2
8
votes
2 answers

Sending File and HashMap to server in GWT

I have to send file and their properties to GWT server. For sending a file i used form panel. public class BrowseFile extends DialogBox { // more code // .. private FormPanel getFormPanel() { if (formPanel == null) { …
NewCodeLearner
  • 738
  • 3
  • 14
  • 38
8
votes
2 answers

How can I set id for GWT widgets in UiBinder?

In java code we can set id. Is it possible to set 'id' for GWT widgets in UiBinder itself? If it is possilbe please give me a sample. Actually I tried the following code, Then I checked it in…
Gnik
  • 7,120
  • 20
  • 79
  • 129
8
votes
2 answers

Remove Click Handler-GWT

How to remove the ClickHandler Event in GWT? I added addClickHandler() Event for a button and i want to remove the ClickHandler Event.I tried HandlerRegistration Method But it failed to remove the handler ,Here is a snippet…
Rangesh
  • 728
  • 2
  • 12
  • 27
7
votes
3 answers

GWT Activities and Places passing references

How do you get an object from one Place to another? For example, I have a ContactsView with a table of Contacts, and the corresponding ContactsActivity/Place classes. If I want to edit a contact, I click on the table row and go to the…
Glenn
  • 6,455
  • 4
  • 33
  • 42
7
votes
2 answers

How can GWT 2.1 editor framework support primitive types?

I am trying to bind a field of the primitive type "int" to an editor. My editor extends ValueBox, since generics in Java can only use object types. When I compile my application, I get the following error: 00:00:18,915 [ERROR] Found…
Jan
  • 1,306
  • 2
  • 10
  • 25
7
votes
2 answers

speeding up refresh for GWT projects

I'm developing a project, using GWT.FireFox Browser and Eclipse IDE. when the project is running and i refresh my browser for client package changes, it takes too long. maybe 6 to 10 seconds. maybe cause be project became big. how can i speed-up the…
Ammar Bozorgvar
  • 1,230
  • 19
  • 30
1
2
3
27 28