gwt

GWT and a jaxb objects

I am trying to use GWT to build objects on the client side that would be sent to a web service elsewhere. These objects are generate through JAX-WS which I am pretty sure uses jaxb to build objects from the xsds that are in the wsdl. Anyhow, GWT was supposed to be able to support this by ignoring annotations or whatever, but it isn't...

GWT: Wrong Key Codes generated with a French keyboard

On any french keyboard(AZERTY) the dot char '.' is generated with (Shift + ;) combination while the percent char '%' is generated with (Shift + ù) combination So when I type one of the above combinations in a GWT text area to write '.' or ' %', the key codes generated for these events are KEY_DELETE in the former case and KEY_LEFT in th...

Which is better in GWT?

which is better in GWT interface, using the normal MVP with javacode, or UiBinder?? from performance, editing, simplicity aspects. ...

Need to let user upload video using GWT

I need to let users upload videos in GWT site, and after uploading I should allow them to preview it. I don't need any controls, just a play and stop button would be enough so that I can show them a preview? ...

com.mysql.jdbc.Driver ClassNotFoundException

I'm getting ClassNotFoundException on Class.forname("com.mysql.jdbc.Driver") I'm using Windows Vista 64-bit, Eclipse Galileo, GWT framework. I downloaded mysql-connector-java-5.1.6-bin, but what is the exact path I should put this file in? I'm getting this exception while I'm in gwt-projects, but in normal projects it works good. Any ide...

TreeItem ClickHandler in GWT

With the standard GWT 2.0.3 API, how do you add a Clickhandler to the TreeItem? I'm hoping to implement asynchronous calls to the server that will retrieve the resulting TreeItems that are expanded. Unfortunately FastTree doesn't work in GXT applications. Therefore I'm back to the original step of needing to attach handlers to TreeItems...

Are jQuery and GWT comparable frameworks?

At work there's a bit of discussion around what client side framework we should use for our front end web applications. Currently it's a showdown between GWT and jQuery and I'm kind of on the fence but leaning towards jQuery. From what I can tell, GWT and jQuery are trying to solve different problems but are compared to each other becau...

How to get fan list of Facebook page or can overwrite facebook social plugin css?

Hi, We are trying it with facebook social plugin. The HTML code for it as follow: <iframe border='0' src='http://www.facebook.com/plugins/likebox.php?id=1185611481&amp;width=243&amp;height=400&amp;connections=15&amp;stream=false&amp;header=false' scrolling='yes' frameborder='0' allowTransparency='false' style='border:0px; overflow:...

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 scroll the entire page using the browser scroll bar, instead of using the internal ScrollPa...

Any complex example project for Java desktop-style GUI?

I'd like to see how the code is organized and how the various GUI design patterns are applied. Anything Java and in desktop gui style is fine: GWT, Swing, SWT. Thanks. ...

passing timezone from client (GWT) to server (Joda Time)

I'm using GWT on the client (browser) and Joda Time on the server. I'd like to perform some DB lookups bounded by the day (i.e. 00:00:00 until 23:59:59) that a request comes in, with the time boundaries based on the user's (i.e. browser) timezone. So I have the GWT code do a new java.util.Date() to get the time of the request, and send...

How to see if an object is an array?

How can I see in Java if an Object is an array without using reflection? And how can I iterate through all items without using reflection? I use Google GWT so I am not allowed to use reflection :( I would love to implement the following methods without using refelection: private boolean isArray(final Object obj) { ??.. } private Str...

Best way to style GWT widgets in a library

I'm developing some widgets into a library for internal use at the company I work for. I don't know what's the recommended way to style the widgets. There are at least these ways: use Widget.setPrimaryStyleName and let the user provide an external css. We use maven archetypes to build applications so we can provide default styles. An...

Guice and GWT problem - can't find GWT.rpc

Hi! I build a simple contact manager app with simple service and it did work. Then I decided I want to use Guice for managing my services and implementations. I also use mvp4g plugin for MVP design pattern. I followed the exmaple of Eric Burke on his blog, and my code looks like that: ContactService.java @RemoteServiceRelativePath("GWT....

Comparing GWT and Turbo Gears

Anyone know of any tutorials implemented across multiple web application frameworks? For example, I'm starting to implement GWT's Stock Watcher tutorial in Turbo Gears 2 to see how difficult it will be to do in Turbo Gears 2. Likewise, I'll be looking for a Turbo Gears 2 tutorial to implement in GWT. But I hate to re-create the wheel ...

Error when running a GWTTestCase using maven gwt plugin

I've created a test which extends GWTTestCase but I'm getting this error: mvn integration-test gwt:test ... Running com.myproject.test.ui.GwtTestMyFirstTestCase Translatable source found in... [WARN] No source path entries; expect subsequent failures [ERROR] Unable to find type 'java.lang.Object' [ERROR] Hint: Che...

GWT Characters with accent not recognised when added programmatically

I am using the UIBinder in GWT but I have problems displaying letters with an accent. My xml looks like this <!DOCTYPE ui:UiBinder SYSTEM "http://dl.google.com/gwt/DTD/xhtml.ent"&gt; <ui:UiBinder xmlns:ui="urn:ui:com.google.gwt.uibinder" xmlns:g="urn:import:com.google.gwt.user.client.ui"> ... <g:Label ui:field="lbl"></Label> I...

How to make GWT RichTextArea transparent under Internet Explorer?

Dear all, By default GWT RichTextArea is transparent against the body background etc, this is true for Firefox, Chrome and Safari. But for Internet Explorer, it is not. Changing the css for like background-color etc doesn't seems to help, it is still giving me a white background within RichTextArea. Need your assistance, thanks in adva...

local software using web technologies

Is it possible to write a local software (read/write local files) using web technologies such as google web toolkit? ...

Using Google Visualization in GWT 2.0

I'm working on learning GWT (total newb) and have a question regarding the Visualiztion API provided by Google. This page: http://code.google.com/p/gwt-google-apis/wiki/VisualizationGettingStarted Describes getting started with a pie chart (which is what I need). However I'm trying to do this in a composite UI using UiBinder. To that...