gwt

Using external Jars on GWT server-side

Hi, Im new to GWT. Im using the eclipse plugin and started tweaking google's 'hello, world!' project: greetServlet. Im trying to build a webapp that will use XML (de)serializing. I chose XStream library for the relative easiness. my classpath includes the xstream.jar. I also manually copied the jar to the WEB-INF/lib folder (Is this...

got an ORA-03115 error

The program worked a second ago, but all of the sudden not any more :S It doesn't even get results out of the database. I've tried login into the database to check and that works fine... This is the code: package gaej.example.contact.server; import gaej.example.contact.shared.Contact; import java.util.ArrayList; import java.util.List;...

How to run Jena with GWT

I'm a noob to jena, and am having trouble running a a basic GWT web app with the jena libraries added to the build path. Does anyone know how to run Jena on google app engine, or any good resources for this? Thanks ...

Problems with GWT panel types

Hi Everyone, thanks in advance for your help. I'm currently trying to create a w3c standards compliant HTML/CSS interface for a GWT app, much of this rests on using the right types of panel in the right place rather than using nested horizontal and vertical panels which write out tables in the UI. I'm a total n00b at GWT and cannot f...

How to port a project?

Hi, I want to port a simple game someone else has written in Java to GWT. He organized it mainly into two packages: One for the user interface and one for the game logic. Hopefully, I can reuse his game logic and just rewrite the user interface, but I might need to change some things in order to make it compile with GWT. I'm wondering ...

Guides for UI designers working in Google Web Toolkit

Can anyone point me to a useful guide for UI designers working in google web toolkit? ...

SmartGWT DataSource binding to ListGrid and DynamicForm

First let me warn readers not to pass me off to any links in isomorphic because it is highly probable I have read it and I have scoured the smartgwt showcase running locally here as I ask this question. What I ask is not documented and if it is, I am unable to decipher and need actual explanation here. No, do not tell me about SmartGWT E...

Django 1.2 CSRF and HTTP posts from Google Web Toolkit

Hi All, I have a GWT web app working with Django server-side. I recently upgraded Django to 1.2, and am not able to get HTTP posts to work from my GWT app. I am getting this error: CSRF verification failed. Request aborted. Reason given for failure: CSRF token missing or incorrect. I have enabled the csrf middlewares ('dj...

GWT & IE8 cause a very laggy table-behavior

Hello everyone, I've yet another question. I'm working with GWT 2.0.4 and IE8 as well as FireFox (the latter only for comparison purpose). My application needs to load data and show it inside a table. There are about 60 columns and 150 rows to show. Since the loading is dynamic - as soon as a dataset has been fetched, it's added to the...

GWT: UiBinder or GWT Designer?

Hello I have my first GWT project that I created using UiBinder (GWT 2.0 way) which I found to be easier than write my UI creation Java source code (GWT 1.0 way). But I saw this thing called GWT Designer that Google are realeasing for free. It have a nice features and wizards, which was missing with standart Google Eclipse Plugin. I li...

How to localize enum values in GWT client code?

I am using an enumeration class in my GWT client's code to define a set of types. public enum MyType { FIRST_TYPE("first"), SECOND_TYPE("second"), THIRD_TYPE("third"); private String title; private MyType(String title) { this.title = title; } public String getTitle() { return this.title; } } ...

GWT browser refresh issue

In my application developed using gwt2.1 clicking on browser's refresh button leads to home page and the token still remains in the url because of which my links won't work.. E.g. Suppose my links are link1,link2,link3, and #link1,#link2,#link3 are respective tokens.. Now clicking on link1 will have following url http://localhost:8080/...

Generate UUID with GWT

Is there any way to generate UUID with GWT? ...

GWT UIBinder Tab panel

I want to put some anchor inside the body of tab panel with two tabs. But my anchors are not visible. The code is as follows <g:TabLayoutPanel ui:field="lhsTabPanel" barUnit="PX" barHeight="60"> <g:tab> <g:header>Analysis</g:header> <g:FlowPanel> <g:Anchor ui:field='personalInformation'>Personal Information</...

How to add static content to a GWT project in eclipse

Hi, any quick hint to an article for adding static content to a GWT project (ex:images) Regards ...

How much data can a javascript program reasonably expect to handle?

I'm writing some grading software with GWT. I want to handle, you know, a list of students, a list of assignments, and scores for students x assignments. Maybe up to 40x100 assignments, each with a name, a date, a score, etc. And then I'd like to have multiple courses. So, x7. All of a sudden this is looking like over a megabyte of ...

How can I prevent Hibernate + c3p0 + MySql creating large numbers of sleeping connections?

I'm using GWT with Hibernate, c3p0 and MySQL to produce a web app with a limited audience (max 50 users per day). During testing I found that Hibernate was opening a connection with each session but not closing it, irrespective of use of the close() method. My current configuration is as follows: hibernate.connection.driver_class=com.m...

GWT and notifyAll() (java.lang.Object)

I'm making a call to the database. The result must be used for a subit form. So i want to wait until the result from the DB comes. For that i need a synchronization. My idea was to use the Object.notifyAll() from java.lang, but GWT doesn't support this. Is there any equivalent method in GWT for the notifyAll()? edit1: I'm using gxt Form...

Deploying gwt application on google app engine is throwing exception

I've created a small application on google web toolkit and it works fine on local environment. But when I try to deploy it on google-app-engine, it throws an error: XML error validating D:\workspaces\NewChat\Ditch\war\WEB-INF\appengine-web.xml against D:\softwares\eclipse\plugins\com.google.appengine.eclipse.sdkbundle_1.2.2.v20090729152...

How to convert existing javascript to java to use with GWT?

Is there a tool to convert javascript to java, so I can handle the project using GWT? update For those who don't know, GWT (Google Web Toolkit) is a toolkit to write Java and get Javascript, so my question. ...