gwt

Connecting Widgets

Hello, My project is about drawing ER Diagrams, for this I am using GWT. For now i have most of the frontend working. Now I want to have lines connecting two widgets to create a relationship between the entities and attributes. For that I want to create 4 corner points to which the lines can connect (Technology something similar to EDra...

gwt and javascript files

In my Google web toolkit application, my gwt.xml file includes the following line in the module: <module rename-to='foo'> ... <script src="foo.js"></script> ... My question is: where in my GWT project do I actually place foo.js so that it gets packed into the war when I compile my project? ...

GWT + JDO + ArrayList

Hi, I'm getting a Null ArrayList in a program i'm developing. For testing purposes I created this really small example that still has the same problem. I already tried diferent Primary Keys, but the problem persists. Any ideas or suggestions? 1-Employee class @PersistenceCapable(identityType = IdentityType.APPLICATION) public class Em...

Sizing a HorizontalPanel cell

Newbie Alert: I have been furiously looking for a way to size a particular cell of a HorizontalPanel. What I am trying to do is implement a 2-cell Horizontal Panel and set the left cell to say 200px. However, I am trying to make the right cell fill the rest of the window, not its cells contents. I cannot see the wood for the trees, p...

GWT Cookies.getCookie returns "null"

Update: I tried clearing the created cookie in the browser and trying it again, and it didn't happen. Conceivably I set a cookie with the value "null" at some point. (Ok, this is probably a retorical question, so I'm making it CW) The documentation for Google Web Toolkit says this about Cookies.getCookie: public static java.lang....

How can i create .png transparent image in GWT ?

hi guys i want to Generate .png image in GWT Does anyone know about this? ...

gwt 1.7 compile from ant build file

Hello all, I need to compile my GWT 1.7 project from my ant build file....anyone know how to do that??? I was able to do this in GWT 1.5 with the following code in my ant file: <target name="compile"> <exec executable="${root.dir}/HelloWorld-compile.cmd" failonerror="true"/> ...

Listener function for gwt widgets

Hi, For my project when a button is clicked, the click event should then wait and listen to the next two clicks on different widgets and then connect them so as to form relationship between them. Right now i an trying to use FocusListener without success. Any suggestion will be of great help. Thank you. ...

GWT History and IE6 / 7

I've asked this question on the GWT group with no luck, so now I'm trying Stack Overflow :) There seems to be some problem with GWT's history and IE6 / 7, and I'm trying to confirm this is an actual problem with GWT and not just something stupid I've done. The problem I run into is the following: Imagine you have some GWT app that plu...

Developing Palm WebOS Mojo applicaitons with Google Web Toolkit GWT

Has anyone successfully developed a "native" Palm WebOS app using GWT? How do you setup your development environment and how did you interface with the mojo framework? I was thinking one setup might be to create 2 projects: a GWT & a Palm OS project. Setup your build to copy the results from you GWT compile into the Palm OS project. Pro...

Printing gwt widget

Can anyone tell me how to print gwt widget? I gont through the folowing thread and tried . http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/eea48bafbe8eed63 Still I cant do that.I can able to print the widget without any css style.I want to include the css styles(css files) also.Thanks for your valuable help. ...

gwt add custom widget to panel

I have created some classes in which it create a bunch of widgets (e.g. label, textbox). I want to create the widget on the fly and add it to a panel. How can I do that. ...

Localized date and numberformats in GWT

I have a monolingual GWT application (English) and I would like to use localized date and number formats. I have added <inherits name="com.google.gwt.i18n.I18N"/> to my gwt.xml, but the formats remain in en-us. I have checked the browser lacale using this script private native String getBrowserLocale() /*-{ return navigator.langu...

How to vary Constants based on deployment instance

I've been building a GWT 1.7 + GAE application using the eclipse plugin. The system constants are loaded into a MyConstants.properties file that is loaded by the singleton MyConstants class extending the ...gwt.i18n.client.Constants class. I would like for MyConstants to load one of several files containing settings like MyConstants-l...

Error running new gwt app in hosted mode, OS X 10.6

I just created a new project using webAppCreator from GWT which worked fine. However, when I try to run ant hosted it fails with the following output: [java] On Mac OS X, ensure that you have Safari 3 installed. [java] Exception in thread "main" java.lang.UnsatisfiedLinkError: Unable to load required native library 'gwt-ll'. Detailed...

Client side time zone support in GWT

I'm working on a GWT app where I need to support the following scenario: The server is located in time zone A The client's browser is set to time zone B The GWT app is configured to display date/time in time zone C Since GWT does not support Calendar and the native support for time zones in javascript is non-existent I can't think of a ...

gwt-connector: connector line not visible

Hi, I am new to gwt connector. I was trying a simple example, everything works fine except that the connector line is not visible. I can see the green points but no line between them. Below is the code: package com.example.connector.client; import pl.tecna.gwt.connectors.client.Connector; import pl.tecna.gwt.connectors.client.Diagram;...

GWT + OSX = SWT issues

I'm new to GWT development and I'm putting myself through the paces with Google's tutorial but I'm getting errors: java[10574:80f] [Java CocoaComponent compatibility mode]: Enabled 2009-11-06 15:27:38.769 java[10574:80f] [Java CocoaComponent compatibility mode]: Setting timeout for SWT to 0.100000 I checked my Java prefs and I ha...

problem creating new connectore

Hello, I am using gwt-connector for my project and i am trying to create new connector each time a button is clicked. Here is the code: public class ERD1 implements EntryPoint { public void onModuleLoad() { AbsolutePanel boundaryPanel = new AbsolutePanel(); boundaryPanel.setPixelSize(1000, 1000); final Diagram d = new Diagr...

Gwt connector for pallete example

Hi, I am trying to add gwt-connector function to my project. My project is similar to the following example: PaletteExample When ever i try to add Shape() function to the widgets it is not working. Any suggestion will be appreciated. Thank you. ...