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
30
votes
4 answers

Super Dev mode in GWT

I'm new to gwt. I don't know how to start up Super Dev mode. I need the detailed explanation step by step. I have tried editing gwt.xml file by adding
nmkyuppie
  • 1,456
  • 1
  • 14
  • 30
29
votes
6 answers

How to declare dependent style names with UiBinder

I have a simple UiBinder widget containing a TextArea:
Eduard Wirch
  • 9,785
  • 9
  • 61
  • 73
21
votes
4 answers

In GWT 2.0 CssResource, how I can turn off obfuscation for all my css classes?

I have a CssResource where I want to have some of the css classes "mapped" to methods: @ClassName("top-table") String topTable(); But I want to turn off the obfuscation GWT does (while developing at least, for better debugging in firebug, etc). Is…
AlfaTeK
  • 7,487
  • 14
  • 49
  • 90
21
votes
2 answers

GWT - did you forget to inherit a required module?

In my GWT application, on the client side Java file, I have written a line to print the Locale: System.out.println(Locale.getDefault()); Here Locale is an instance of java.util.Locale. I'm getting an exception: 09:31:53.656 [ERROR] [stockwatcher]…
Vicky
  • 5,380
  • 18
  • 60
  • 83
19
votes
5 answers

How to use the GWT editor framework for validation?

I am trying to integrate with the new GWT Editor framework of GWT 2.1.0. I also want to add my validation checks into the framework. However, I am struggling to find a decent example how to do this. For the moment I have the following…
Jan
  • 1,306
  • 2
  • 10
  • 25
17
votes
2 answers

How do I add a click handler to the GWT ButtonCell?

I created a ButtonCell and a Column for it: ButtonCell previewButton = new ButtonCell(); Column preview = new Column(previewButton) { public String getValue(Auction object) { return "Preview"; } }; How do I…
Noor
  • 19,638
  • 38
  • 136
  • 254
15
votes
3 answers

GWT 2.1 UiBinder SimplePager requires location attribute

What can be provided to the location attribute of a I tryed CENTER, but it didnt work, I see in the expense sample app that they dont have a location attribute but instead set it on the creation…
rapadura
  • 5,242
  • 7
  • 39
  • 57
15
votes
6 answers

Solution for Numeric Text Field in GWT

I need a text field very similar in behavior to Gxt's NumberField. Unfortunately I am not using Gxt in my application and GWT 2.0 does not have a Numeric text field implementation as yet. So that currently leaves me with an option to simulate a…
Ashwin Prabhu
  • 9,285
  • 5
  • 49
  • 82
13
votes
1 answer

Drag and Drop in GWT 2.4

I have a custom widget that is actually an image, and i would like to be able to drag it inside an AbsolutePanel and get its coordinates every time. I would like to use the new DND API from GWT 2.4, but i'm having a hard time to implement it. Can…
Ponty
  • 645
  • 1
  • 7
  • 25
12
votes
1 answer

GWT 2.1 in UiBinder put Cell Widgets

How does it work? I see no tags defined for example to add a CellTable in a UiBinder.ui.xml file, like The documentation is sparse on this. So if it doesnt work, where should I put the cell widgets, in the uiBinder class or the presenter?
rapadura
  • 5,242
  • 7
  • 39
  • 57
11
votes
4 answers

How do I style a gwt 2.1 CellTables headers?

I see nothing in the documentation except a reference to include some "CssResource" and get it with ClientBundle, but how do I exactly override the tbody and th of a CellTable? Is this possible?
rapadura
  • 5,242
  • 7
  • 39
  • 57
10
votes
2 answers

Can I use enum values as field values inside UiBinder template?

Can I use enum values as field values inside UiBinder template ? I'm using GWT 2.4 Something like this looks promising, where public enum PayerType { Sender, …
expert
  • 29,290
  • 30
  • 110
  • 214
10
votes
1 answer

How to expand tree in gwt?

I a using GWT 2.3.In which I am using import com.google.gwt.user.client.ui.Tree. I want to show tree expanded always.For that I did below code for every tree item treeItem.setState(true); But it is not working.I am not getting how to expand…
Sanjay Jain
  • 3,518
  • 8
  • 59
  • 93
10
votes
7 answers

Is GWT still an option for a large business application

My company is planning on developing a brand new web front-end application. Some background: It must "sizzle" i.e. a nice marketable look and feel. Our development team has no Java experience, with limited experience in Silverlight, Javascript,…
Joyce
  • 101
  • 1
  • 3
10
votes
1 answer

What purpose do the collection classes defined under com.google.gwt.dev.util.collect.* serve?

I accidentally used HashSet and HashMap defined under the package com.google.gwt.dev.util.collect in the client side code. Found out the package does not have a module xml file and hence these collection classes are not meant to be used on the…
Ashwin Prabhu
  • 9,285
  • 5
  • 49
  • 82
1
2 3
27 28