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

GWT - Implementing a DialogBox for Login purposes

For testing purposes, I want to use a DialogBox for logging into my application. Here's the uibinder file:
helpermethod
  • 59,493
  • 71
  • 188
  • 276
4
votes
1 answer

Browser level scroll bars are completely disabled when using RootLayoutPanel in GWT 2.1.1, how do I re-enabled them?

I am working with GWT 2.1.1, every time I use RootLayoutPanel instead of RootPanel in my EntryPoint class, the scroll bars for the browser gets completely disabled, so when my content doesn't fit on the screen there is no way to get to it. How do I…
user177800
4
votes
3 answers

gwt Popup is not centered

I use gwt popup to show some messages, but it is not displayed in the center of the display event if i call popup.center(). Actually it is not centered only the first time, if i close it and open it again every thing is ok, but not the first time.…
raisercostin
  • 8,777
  • 5
  • 67
  • 76
4
votes
1 answer

Cancel form submission

How can I cancel a form submission using GWT? I need to validate the form and process some of the data before actually submitting it. So far I did the following, the problem is that the form is submitted even if the SubmitEvent is…
4
votes
3 answers

How can I make GWT list box editable a part from selection

As per my requirement I have written a custom panel which will display three ListBoxes to enable user to select date from this custom list boxes.These three list boxes are responsible for showing month,day,year value. Now I would like to make my…
Anjaneyulu
  • 71
  • 2
  • 3
4
votes
1 answer

Modal window with progressbar for long tasks

In some cases, I want show to user a modal window with a progress bar when the long running query. (For individual UI items, I use the method setEnabled (true/ false) but I want more elegant solution.) For example, in the entry point, until all…
user1134181
4
votes
6 answers

How to put the Icons In the Center of the button in GXT

Hi i am working on GXT i have a button with an Icon. I want to put the Icon in center. Currently it looks like this. the icon of the button is in left (because of IconAlign.LEFT). I want it in center. But there is nothing like IconAlign.CENTER If…
NewCodeLearner
  • 738
  • 3
  • 14
  • 38
4
votes
2 answers

GWT - Compilation error: No source code is available for type

I am building GWT application by Maven. When compiling get the following message: Validating newly compiled units At first there is this warning: [WARNING] Don't declare gwt-dev as a project dependency. This may introduce complex dependency…
François Esthète
  • 855
  • 2
  • 9
  • 15
4
votes
2 answers

Conditional UI with GWT and Spring Security?

What are the best practices for creating a Conditional UI using GWT and Spring Security based on a users Role/Permissions? I'm aware that you can't rely on client side security. I will have security checks on the server side. The Conditional UI is…
TheDBomb
  • 53
  • 4
3
votes
2 answers

appengine 1.6.3.1.jar creates Unknown Google App Engine prob

I was using appengine-java-sdk 1.5.3. My web application Project was working fine. I configured the Sdk and add new sdk 1.6.3 I got many errors in Problem window. The App Engine SDK JAR appengine-api-1.0-sdk-1.6.3.1.jar is missing in the…
GameBuilder
  • 1,169
  • 4
  • 31
  • 62
3
votes
1 answer

Checking the size of an Image with GWT

I have a GWT application that generates SVG files. I want to embed an image from some URL into my SVG, but I want it to be resized keeping the correct aspect ratio. I do this by loading the image using the Image class in GWT, and check the height…
luketorjussen
  • 3,156
  • 1
  • 21
  • 38
3
votes
5 answers

reading a file on client side in GWT

I want read the content of file and store it in array. I have a code to browse a file using formPanel and formupload. How to read a file and store in array. Any sample code will be of great Help.
NewCodeLearner
  • 738
  • 3
  • 14
  • 38
3
votes
2 answers

How iterate in Hashmap till the required object

i am doing programming in GWT i have class FolderColection and Folder, in FolderColection Class there is Hashmap hm public class folderCollection{ public MapFolderCollection = new HashMap(); public void…
NewCodeLearner
  • 738
  • 3
  • 14
  • 38
3
votes
1 answer

GWT: How to add DockLayoutPanel inside another panel? Not the RootLayoutPanel

Is it possible to add DockLayoutPanel inside another panel other than the RootLayoutPanel? If so, how would you do it? I attempted to add it inside HTMLPanel, and only north of the DockLayoutPanel shows. Then I tried it inside LayoutPanel, it failed…
Wen
  • 73
  • 2
  • 7
3
votes
1 answer

gwt uibinder in an abstract parent class

i'm wondering if there's a way to build the gwt uibinder logic into an abstract parent class so that i don't have to repeat the code in every class i want to bind. for example, i'd like to be able to do something like this: public abstract class…
jctierney
  • 31
  • 1
  • 2