gwt

How to set background image to an ClientBundle resource in uibinder (GWT)

Dear members, How to set background image in uibinder/java to an image in ClientBundle without using: obj.getElement().getStyle().setBackgroundImage("url("+Images.INSTANCE.bg().getURL()+")"); Because this doesn't work in IE (FF is OK). I think I should set the background image directly in uibinder with css @url or ... (I am using GWT...

How to configure a Google Web Toolkit application with Datanucleus + PostgreSQL

Hello there! =) I created an application using GWT and support for the Google Datastore but now i'm trying to move my application to my own server and i'm also trying to detach my app from Google App Engine and from Datastore. To be more precise: I want to stop using Google Datastore and start using JDO and Datanucleus but with Postgre...

gwt - how to restore previous view

Hi, Let's say I have a gwt application with many widgets and I've used them many times such that some dialog windows are opened, some radio buttons are checked, etc.. Then, I go to another website and click back button but I see that the previous view is lost. What are the ways to restore it? One remark: If it is connected with gwt hist...

JSP, Spring, Struts or GWT for College Project

Possible Duplicate: Choosing a Java Web Framework now? I am a final year student doing my Bachelor in Enginering(Computers) course from Mumbai University. We are supposed to do a project for the final year and my group has decided to build a webapp for geographicaly separated developers to work collaboratively on projects onli...

Accessing a file in another server from GWT Client side

I have a file, sample.xml located at one web server. I want to access this file from a GWT application running at another server. I dont want to make RPC calls to the same server serving GWT application and access the required file on server side (like a proxy). I want to access the file directly from client side as my application is goi...

Real-world ZK vs GWT experience

A fellow developer and I are putting together a proposal for a new application, and we've presented both ZK and GWT to be possible choices. After messing around with both, I'd prefer to move ahead with a ZK proof-of-concept, but one of the "senior architects" of the company (who isn't even on our team) seems to be trying to take over th...

GWT: Dealing with incoming JSON string

I am working on a GWT app that is receiving a JSON string, and I'm having a hard time getting down to the values of each object. I'm trying to transfer the incoming JSON string into an array of objects. Here is the JSON (From Firebug response tab), The "d" is a .NET thing (Web Service Being Consumed is C#. { "d": [ { ...

i want to drag widget from one flextable n drop it into another...

i want to drag widget from one flextable n drop it into another...but when i drag the widget, it goes behind the second flextable...m not able to get it over another flextable...is there any way to bring the draggable widget over another flextable? Thanks in advance, Kiran ...

Is it mandatory to provide a default locale.properties or @DefaultStringValue while using gwt internationalization?

I am using Static String Internationalization. Locale.java public interface Locale extends Constants{ String kbps(); } Locale_en.properties kbps=Kbps1 Both are in the same package. In .gwt.xml, included following line: <extend-property name="locale" values="en"/> Now when I am compiling the code, i'm getting following error: ...

How do I restrict a window component to drag just inside a contentpanel on GXT - GWT?

Hi, How do I restrict a window component to drag just inside a contentpanel on GXT - GWT? I need your help, thanks. ...

gwt developer tools IE8 plugin install problem on Windows 7

Today I started testing a gwt application on a new notebook with Windows 7. Testing with Firefox went OK, then I started it in IE8. The "Development Mode requires the Google Web Toolkit Developer Plugin" comes up, fine, click on Download. A moment (and a download) later, an IE security warning window comes up ("Do you want to run this so...

JAVA/GWT - DateFormat coming back as 1/15/1970

I am trying to parse a timestamp into a human-readable date string, however, I keep getting 1/15/1970 as a return. //Here is my formatter DateTimeFormat Format = DateTimeFormat.getFormat("MM/dd/yyyy"); //Here is my timestamp - SHOULD BE AUGUST 16TH, 2010 String date = "1281966439"; //Here is where I create the date, and format it int ...

How GWT differs from JSF/Wicket in maintaing state and performance

I am new to GWT, JSF and Wicket. I am just wondering how GWT differs from maintaining client state from JSF/Wicket and also how performance differs under peek load. Any thoughts? ...

GWT "database" (client-side)

I'm looking for something like a database for GWT objects (inside the browser). It must work without HTML5 or Gears (or any browser plugins). It doesn't have to be capable of everything a database can do, but the most important features would be automated indexing, on multiple columns some kind of API or language to perform (a limited...

Timeout with GWT

I received a new computer at work today and for some reason all of my GWT programs are timing out when I try to build them in eclipse. Specifically I am seeing this message: INFO: Unable to access http://appengine.google.com/api/updatecheck?runtime=java&amp;release=1.3.5&amp;timestamp=1277158890&amp;api_versions=['1.0'] java.net.Conne...

Hibernate GWT integration throws "java.lang.NoSuchMethodError: javax.persistence.OneToMany.orphanRemoval()Z"

Hello, This error is a nightmare, I have not been able to figure out why Hibernate libraries are not loaded into the classpath during the deploy onto the webserver( eclipse integrated Jetty server, bundled with GWT).I see that hibernate-jpa-2.0-api-1.0.0.Final.jar being added to the web app classpath at deploy time.But, still it is not ...

How to wrap a long text which has no whitespace in it

final jLabel descLabel = new jLabel(); des.setWordWrap(true); des.setWidth("200px"); descLabel.setHorizontalAlignment(HasHorizontalAlignment.ALIGN_LEFT); tableDisplay.setWidget(row, 2, des); I'm placing the label inside a FlexTable This is how it looks in the label. It's exceeding beyond the width I have given for the label. Appears o...

GWT Custom events - Registering receiver with event senders

Hi there. I am using a lot of custom GWT events which 100's of objects need to register to receive. Is there anyway I could automatically register types of classes with each other. Or is there simply no way around it, the event handler manger needs the references to all the objects wanting to receive events. Would I be better off impleme...

GWT support for HTML5

Hello Does GWT support HTML5? I mean especially Canvas and WebSockets? Regards ...

SOP issue behind reverse proxy

I've spent the last 5 months developing a gwt app, and it's now become time for third party people to start using it. In preparation for this one of them has set up my app behind a reverse proxy, and this immediately resulted in problems with the browser's same origin policy. I guess there's a problem in the response headers, but I can't...