gwt

Centre object on-screen using css only in GWT2.0 layout/uibinder world

There are a few ways out there in the internet to centre something on the screen via css (-ve margins, table-cell hack etc). I was quite happy with that until now when I wanted to use native gwt2.0 layout panels/widgets. Imagine you want to do a "loading screen" to show a spinning circle until the app tries to figure out where to send us...

GWT compile - why still 5 permutations after only having one user.agent option?

Trying to speed up gwt compile, did the following: <module rename-to=xxxx> <inherits name='com.yyy.basemodule> <set-property name="user.agent" value="ie6"/> <extend-property name='locale' values='en' /> </module> But when compiling, expecting only permutation, still saying: "Compiling 5 permutations" Any clue? ...

Facebook Connect with GWT and App Engine (Java)

Discovered a problem with connecting all together - Facebook, GWT and App Engine. I need to authenticate user on my web site hosted on App Engine (Java) that uses GWT. After authentication, some information should be passed to server from facebook - like profile information, user list, etc. Currently am trying to use facebook4gwt and a...

consuming SOAP web serives in google app engine and GWT

Hi, I am writing a web application in GWT, I am trying to interact with a SOAP web service. I know how to do it in regular java environment using the JAX-WS library, but GAE (Google App Engine) does not support it. see http://groups.google.com/group/google-appengine-java/web/will-it-play-in-app-engine is there a way of consuming a wsd...

"Duplicate method" error when using Hibernate + Javassist + Gilead

My web app is using GWT 2.0.2, GXT 2.1.1, Hibernate 3.5-CR1, Javassist 3.11.0 and Gilead 1.3.1 (latest from SVN). My app was running just fine with GWT 1.7.1 + Gilead 1.2. I want to take advantage of some of the features of GWT 2.0, and figured I'd upgrade to the latest Gilead in the process. I pointed to the new gwt.xml file in Gil...

Gwt-ext. Bean to record and record to bean.

I write a RIA application and my JPA beans must be decoded to push it in Store. My decisions are: Brute Force. If I have property 'aProp' in bean (and getter/setter for it) i create RecordDef, then Record, then Recrod.set('aProp', bean.getAProp()) and so on.. (it is terrible) I can write generator for creating a Factory of Records (it...

GWT RPC Cookie authentication

I'm using gwt on my glassfish server, and I'm attempting to make some of my RPC calls authenticated via cookies. Is this possible? Are there any examples out there of how to code it? ...

GWT/Spring/Hibernate data change events and transactions

I'm working on an AJAX application using GWT, Spring and Hibernate. I'm keeping some configuration data on the client side, which is almost never changed, but when it is changed, I have to notify all clients about the changes via a data change event using GWTEventService. All of this is already working, but I noticed a problem concernin...

Difference between Extends Composite and Extend a specified widget

Hi all, i am implementing my first GWT application currently, i just have a quick question about the differences between Extends Composite and Extend a specified widget when creating complex custom widgets, and the advantages of using "extends Composite". Also, is it true that the widget created by extending Composite can be loaded faste...

How to Merge GWT (Google Web Toolkit) Project and Dynamic Web Project (i.e. Java Web App/Servlets) in Eclipse?

I currently have a primary Java Web App Project which houses some Servlets, JSPs and static HTML pages. Later on, I also created a second Eclipse Google Web Toolkit Project (GWT). Now, after finishing the GWT Project, I want to integrate or merge the GWT Project (while retaining its RPC capabilities with Servlets) with the Primary Java W...

[GWT] Multiple modules?

Hello there, I am struggling in getting the structure of my GWT application right. (Am I the only one one who finds that GWT code very easily ends up very messy and unreadable?) The application is supposed to be an interface to a couple of quite distinct areas - let us say area A and B. At the moment I am trying to implement it as an i...

Where can I find a good iPhone/GWT/AppEngine example?

These seem like a great combination--I'd expect to see more on at least GWT/iPhone integration, but there isn't much. I've looked through the reader example that Google made, but it doesn't seem to take advantage of many of the iPhone features. I was wondering if anyone knew of a tutorial/resource that showed how to use things like loc...

Cant we use a Set or collection as a return type in GAE?

In my code i have used Set<Employees> as a return type to my function addEmp(). So, i m gettin an Compilation error. The Error is: Compiling module com.employeedepartmentgae.Employeedepartmentgae Refreshing module from source Validating newly compiled units Removing units with errors [ERROR] Errors in 'fi...

File Upload with RequestBuilder

Hi I need to upload a file in GWT in the background, ie. not from a visual widget. For this I've found the RequestBuilder class, but little documentation on how to use it for upload purposes. The file content I need to upload is 100% plaintext. My code so far looks like this: final String filename = UUID.randomUUID().toString() + "....

How can I add rows to a Google Web Toolkit flextable in the UiBinder?

Where can I find a UiBinder template for the FlexTable? I am using Google Web Toolkit (GWT). ...

GWT - how to organize project to have multiple web pages and navigation between them

Hello I'm a newbie to GWT (by the way being really impressed by it) and find it really attractive to a person like me with good knowledge of C++/.NET desktop technologies willing to write web applications. I started my own project based on the generated sample from the GWT Eclipse Wizard. This project generates simple html page with ...

How can one embed Google Wave using Google Web Toolkit

How can you embed Google Wave onto Panels in Google Web Toolkit? I've been using the following website as guidance, but it doesn't seem to be working for me. This only works the first time you load the Module and not when you want to load it with an action of a button. http://groups.google.com/group/gwt-google-apis/browse_thread/thread/...

J2EE user authentication and GWT

I seem to have coded myself into a corner. First let me tell you what my end goal is: I have a GWT app that will have features available to users who are not logged in, and other features only available to authenticated users. When an unauthenticated user clicks on something that requires authentication, I would like a login box to pop u...

GWT Date Time Component

Is there a GWT Date Time Component? Note: I am already making use of the Date - Calendar component. I want to have time as an additional input. ...

Getting JQuery to act on class name dynamically added by GWT

Hello, I'm trying to get jquery to do some ui affects for me while using GWT. I have notifications that I add to a page that when clicked should disappear. Since there could be multiple notifications of the same type (warning, error, etc.) I'm trying to dynamically add a style name only when they are clicked through GWT and then hav...