gwt

Which effects library should I integrate with GWT?

I am curious if anyone has done a comparison between the different options out there. So far I am leaning towards using Moo.fx because loading prototype.js just to use scriptaculous seems a bit much. Does that make sense? Are there any other effects libraries worth trying? Thanks. ...

Can't compile class calling a method in an interface with a generic list argument

Hi everyone, Just got a question about generics, why doesn't this compile when using a generic List? If its not possible, anyway around it? Much appreciate any answer. // Interface used in the ServiceAsync inteface. public interface BaseObject { public String getId(); } // Class that implements the interface public class _ModelDto...

GWT FileUpload initial path

Is there a way to set the initial path for the FileUpload widget in GWT. So the next time the user presses the browse button he is put to the location he has been the last time (if existent). ...

How can I format text in GWT label widget

I would like to break a long line of text assigned to the standard Label widget in GWT. I was experimenting with inline <br /> elements but with no success. Something like this: label = "My very very very long<br />long long text" ...

Stop a event from bubbling in GWT

I have the following snippet of code, changeTextArea is a TextArea object. changeTextArea.addKeyboardListener(new KeyboardListenerAdapter() public void onKeyPress( Widget sender, char keyCode, int modifier){ //do something //I WISH TO STOP THE EVENT THAT MAPS TO THIS KEYPRESS FROM BUBBLING ANY FURTHER } } How would I stop ...

GWT + Spring

Hi Can I access spring bean that exposed using http invoker (server) from GWT application (client) ? If so is there any example / tutorial for that ? -- Yonatan ...

Is there way for a GWT program to tell if it's in hosted or web mode?

I would like my GWT program to be able to determine whether it's in hosted mode or in web mode. Is there a way to do this? Thanks! ...

GWT Unit Testing TDD and Tooling

hi there I m just starting using gwt and so far so good, however after reading some sample code I wonder is it necesary to have a high level of test coverage? (I can see that most code is declarative and then add some attributes I can see the sense in checking so me particular attributes are there but not all) Also i would be intereste...

GWT paging widget

I'm looking for a GWT common purpose paging widget. So far I have found GWT widget library and the Google Incubator widgets. Is there any other free (possibly open source) widget library implementing a paging behavior. ...

General question, what do you want from a web framework?

In a MVC application, what are some of the components that make up the application. What tools and functionality is missing that you would like to have. Regardless of the server-side language, what would you want? I see a lot in my code where I code some much functionality that it seems should already be there. I looked at Google web...

How to group gwt-rpc calls ?

With DWR it is possible to group together several service calls into one single HTTP request : dwr batch feature This feature is very useful to reduce the latency of an ajax application. Is there a way to do something similar with GWT / GWT-RPC ? Thanks for your help ...

GWT overlay types, converting to JSON

In GWT, what is the best way to convert a JavaScriptObject overlay type into a JSON string? I currently have public final String toJSON() { return new JSONObject(this).toString(); } Which seems to work fine. I would like to know if there are any better approaches. ...

How can I implement activation arguments in GWT?

I'm writing an editor in GWT, how can I pass the user/pass from the page? For example a user submits a simple html form and then an GWT app shows up in the next page, how can I get the form submission info into the GWT nicely? Thanks. ...

How to make stack panel in GWT that looks like Outlook

The default GWT StackPanel is not enough good, i want to have functionality similar to outlook stack panel. May be there is already something exists? ...

How can I emulate PUT/DELETE for Rails and GWT?

I would like to make my application somewhat REST compliant. I am using Rails on the backend and GWT on the frontend. I would like to do updates and deletes. I realize I can do something like mydomain.com/:id/delete (GET) and accomplish the same thing. However, as I stated previously, I would like to have a REST compliant backend. T...

Remoting from a Swing app to GWT server

To put it simple, I've written a JSE Swing app that needs to talk to a GWT server I've written earlier. I absolutely love the way GWT does remoting between it's javascript and server sides and wish I could utilize this mechanism. Has anyone managed to use GWT-RPC this way? Should I just go Restlet instead? ...

EC2: can I host an http server there?

Does anyone have experience deploying GWT apps to EC2? If I were to install tomcat or apache on a ec2 instance, could I have users connect directly to a url pointing there? Would that be cost effective, or would java hosting services be best? Is there any downside to hosting the edge HTTP server on a regular hosting service and have t...

How to get the number of years between two java.util.Date?

How to get the number of years between two java.util.Date? Note: using only java.util.Date... ...

What is the best Eclipse GWT plugin?

We're going to investigate GWT for our project. When searching for an Eclipse GWT plugin I got many. Google Eclipse Plugin GWT Designer Cypal studio None, run GWT in hosted mode GWT-Tooling Other? In your view, what is the best GWT plugin for Eclipse and why? [27 Nov: Editied to reflect the answers below...] ...

integrating Grails and GWT

Hi, GWT seems like a really nice technology for Java developers who don't like (or don't know) HTML/JS/CSS to build rich web interfaces. On the server-side Grails also looks really nice, it's often described as "Rails for Java developers". I've read that Grails' "convention over configuration" approach, together with the benefits of dyn...