gwt

How to parse dates in GWT?

I lost a lot of time on this one, so I'm posting the question and answering from what I learned, as a resource to help other people out. The context of the problem is building an RSS reader. While RSS dates are supposed to conform to RFC822, they do so in differing ways so you want a method that's flexible. I tried to use GWT DateTime...

What is the use GWT generator ?

I have seen that GWT framework is having generator feature. In what case we have to use gwt generator option and why it is needed? Can anyone tell me simply why,what is gwt generator? Done some googling. But not much helpful stuffs... ...

GWT and Ruby on Rails

Hello. We have RoR application and we are planning to make js interface(extjs or closure) in new version. Is it possible to use GWT with RoR? ...

Child widget click event notice in parent

Hi all, I have a uiBinder class which consists of some labels and a button, I instantiate couple of objects of this class in another uiBinder class. Now I want to do something whenever button is clicked in any of these objects, Do you have any idea how can I do this? thanks ...

Adding Progress Bar during RPC

Hi, I want to add a progress bar during a gwt-rpc call which shows the percentage of the task completed.Anyone who can help me with a piece of code for the same? Also I load videos into my client side from the war directory and they take a while.Therefore if I try to play them sometimes the browser goes unresponsive(probably because ent...

GWT, access RichTextArea by non-GWT (or "regular") javascript

Hi. I am writing a pretty simple CMS on GAE, and I want my users to be able to upload images. I have written the part that does the actual uploading and showing the images, and here's what I'd like to do: Show the usual form for new posts (with a widget that contains a rich text area and a format bar for it) and the list of images the...

GWT vs. ScriptSharp Pros and Cons

We have determined it's too difficult for us to maintain the bulk of javascript we need to write full-scale "single page" javascript "applications". Relying on programming conventions still has left us wanting... especially in the area of refactoring. For developers new to these projects, they find it very difficult to change anything be...

Problems with deploying GWT with RPC to tomcat (web.xml problem probably)

Hello! My gwt app that uses mysql database runs normaly in eclipse when debugging. When i run it on tomcat, it displays correctly but when i click on a button that makes a RPC (executes servlet and contacts the database) i get an error. I checked my tomcat log and i see 404 error when clicking on a button: 0:0:0:0:0:0:0:1 - - [22/Jul/2...

MVP: Should the View implement a Presenter's interface or vice versa?

I am doing my first steps with GWT. I have a question after reading: Large scale application development and MVP Large scale application development and MVP - Part II In the first example the Presenter defines the interface for the View. public class ContactsPresenter implements Presenter { ... public interface Display extends H...

File Upload Control and GWT Look and Feel

Hello I'm writing my first GWT project. I have a form with label, file upload control and upload button but they look awful and too different in various web browsers. Also button from file upload control doesn't have the same style like GWT button control. And the other problem is that in Chrome Button for file choose is on the left?!? ...

Google finance's date range selection without the graph itself

I need an elegant way to let users select a date range, what I would like to do is use the AnnotatedTimeline that Google Finance uses and hide the graph output. According to the javadoc for AnnotatedTimline http://gwt-google-apis.googlecode.com/svn/javadoc/visualization/1.1/com/google/gwt/visualization/client/visualizations/AnnotatedTim...

GWT code splitting strange behaviour in IE8

Hi everyone, I have a widget (Main.java) which encapsulates funcionality and implements the Async Provider pattern for code splitting. In addition, I use the Prefetching pattern so that the browser downloads the code inmediatly after it loads a Welcome screen. The problem raises in IE8. If I use the Main widget without doing prefetchin...

GWT: IE8 problem with composite over DockLayoutPanel, the unit EM, and the Singleton design pattern

Hi everyone, I have a "Welcome Screen" which is made by hand from the entry point. On the other side, I have Widget named Main which uses the Singleton pattern: this Widget encapsulates the application funcionality and there should be only one instance in the application. This Widget is a composite over a DockLayoutPanel, which has nor...

GWT interoperability: invoke java applet from GWT generated javascript

Hi, Since GWT is cross-compiled to javascript, only a few JRE packages are emulated. What if I need to make complex computations with packages not supported by the GWT x-compiling? Is there a way to create a separate java app that can be invoked from the client side GWT (which would of course need to be shipped with the client). I don'...

Workaround around height and width limitations for Google Visualization API's Intensity Map wanted.

The Intensity Map provided by Google's Visualization API will not render beyond 440x220 pixels; I am looking for alternatives. Any ideas for workarounds and/or alternatives? Thanks in advance. ...

How can I specify a browser that GWT tests should be run on?

I am writing a GWT project that uses HTML5 canvas. To test application I use GWTTestCase. For firefox some functions are supported since gecko 1.9. While testing, firefox 3.0.1 is being used and errors occur. How can I set up GWT tests to be launched on firefox 3.6? (in Eclipse using GWT plugin or using build.xml for ant) ...

HTML5 Offline GWT APP

I am trying to build a offline gwt app using HTML5 cache manifest and local storage, but to do that, i need to build the manifest file listing all the GWT generated files, right? Can i do this during the compile process or is it better to do this in a shell script? ...

Changing dimensions of video loaded

Hi, I am having a .avi video file with the dimensions 640 x480.I however want to show the complete video(with the control bars) in a window half the size (320x240).Is there a way to do this in GWT or will I have to change the dimensions before loading it into GWT itself.I did try the BST-player to show video file but did not see any meth...

How to tell if TextArea is Focused or not in GWT

How to tell if TextArea is selected or not. I want to save automatically when user changes the focus from TextArea. I tried to look into addFocusHandler() and addBlurHandler() but couldn't figure out how to tell if it is selected or not. ...

GWT/java and javascript

hi can i design my web pages in html and css instead of java methods and use gwt only in parts of page that i need ajax? and which one is better gwt, extgwt, vaadin(it run apps in server-side.can i also use it in client-side?), etc...? do i also need to know javascript for using gwt? thanks ...