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

Tradeoffs for using soft permutations in GWT?

I am exploring using soft permutations in my build of GWT because total file system size of the compiled app is important to me (read: sum of all permutations). Aside from increasing the file size the user has to download and potential runtime…
Myles
  • 20,860
  • 4
  • 28
  • 37
3
votes
1 answer

Simple GWT Editor Example

I'm finding anything other than copying and pasting existing GWT Editor examples to be frustrating. Here's an attempt to create a minimal Editor, without success. public class ContactEditor extends Composite implements Editor { …
Glenn
  • 6,455
  • 4
  • 33
  • 42
3
votes
3 answers

Dependency injection not working in gwt 2.1

I have a new project where I am using GWT-Views like Composite, etc. I have injected the items in the main menu (like ProductList below) using GinInjector. This works fine! Somewhere I want to have a reference from a small component to an item from…
adranale
  • 2,835
  • 1
  • 21
  • 39
3
votes
2 answers

Is there a `AcceptsOneWidget` which also `ProvidesResze` (other than `ScrollPanel`)?

I have a composite which extends ResizeComposite and has a DockLayoutPanel as its root. I can stick it directly into RootLayoutPanel and it works because DockLayoutPanel ProvidesResize. However, I'm wanting to use the MVP facilities in GWT 2.2, and…
David Bullock
  • 6,112
  • 3
  • 33
  • 43
3
votes
1 answer

Updating GWT Cell Table at runtime

I am trying to update a cell table at run time, the cell table gets its date from a list Cell_Table.setRowData(0,AllMessages); I am trying to update the List AllMessages then do this Cell_Table.redraw(); with no success. I am trying this do this…
Noor
  • 19,638
  • 38
  • 136
  • 254
3
votes
1 answer

Uses of .devmode.js file in production mode

I have a simple GWT app. Whenever I run gwt compilation for production, I also see a file with the extension .devmode.js being generated. Questions: This looks like a devmode-related file; do I actually need it while running in production? Do I…
Andrei
  • 1,613
  • 3
  • 16
  • 36
3
votes
3 answers

With GWT, is there a way to not load widgets declared in uibinder xml files?

One common design I have with GWT is to create a widget which contains two children: A and B. I declare these two widgets A and B in the uibinder file associated to my main widget. What I want to do is to load or not widget A depending on an if…
Jerome Cance
  • 8,103
  • 12
  • 53
  • 106
3
votes
1 answer

GWT 2.1 and the editor mechanism, how to?

I'm very confused about the new editor mecanism with GWT 2.1. I can't understand how to provide errors with a simple TextBox. For example I want a TextBox where text size is greater than 6 (for a password). How can I simply provide a delegate to…
Jerome Cance
  • 8,103
  • 12
  • 53
  • 106
3
votes
1 answer

GWT CSSResrouces - what's the advantage or the best way

Hey, I'm developing a GWT app and now facing the CSS part. I read a lot about this topic at the official site but still have a few questions and hope someone can give me a hint. When I'm using CSSResource the css styles will be compiled into the…
wolfi
  • 33
  • 4
3
votes
1 answer

Wrap simple JavaScript plugin using JsInterop

i'm currently upgrading my Gwt 2.7 project to 2.8-beta1 and i'm trying to refactor the Javascript plugin wrapper from JSNI to JsInterop. Here the JSNI wrapper : public class MyPlugin extends JavaScriptObject { protected MyPlugin(){ } …
Yoplaboom
  • 554
  • 3
  • 13
3
votes
1 answer

Pass draftCompile to IntelliJ IDEA's GWT compiler

With the Maven GWT Plugin it is possible to pass the draftCompile flag to the GWT compiler. How can I pass this parameter to IntelliJ IDEA's internal GWT compiler to speed up the compilation process?
Harold L. Brown
  • 8,423
  • 11
  • 57
  • 109
3
votes
4 answers

TabLayoutPanel with scroll

I'm using a TabLayoutPanel in a GWT application, attached to the RootLayoutPanel of the page. Inside each tab I have a ScrollPanel, which is used to display a FlexTable. Is it possible to make the TabLayoutPanel grow vertically, so the user can…
muriloq
  • 2,692
  • 5
  • 29
  • 32
3
votes
1 answer

Difference between Html***Builder and Dom***Builder classes in Gwt

I am trying to manipulate the DOM extensively from my Gwt code. In the process I discovered two groups of classes implementing a common base interface e.g.. interface DivBuilder class HtmlDivBuilder implements DivBuilder class DOMDivBuilder…
Gautam
  • 1,030
  • 13
  • 37
3
votes
1 answer

Why does GWT 2.7 discontinue the GWT Designer?

As per GWT 2.7.0 (RC1) Release Note, GWT Designer is deprecated. I use the tool for some complex UI design in my project. Just don't know why this happens and what are alternatives without it.
Bing
  • 27
  • 1
  • 6
3
votes
1 answer

GWT 1.4 TO 2.0 UiBinder

I am upgrading a project with around 60 java classes, from 1.4 to 2.0 . Apart from replacing deprecated functions, adding generics, will converting the whole project into UI Binder approach i.e. XML and Corresponding working Java classes, be…
manu sinha
  • 51
  • 3