Re: What are you using for a backend??

2009-01-21 Thread Chris Lowe
Hello, I had better luck finding a host for for my Java stack by looking for a regular VPS rather than looking for dedicated J2EE (or Tomcat) hosting. There are loads out there but I've uses http://rimuhosting.com/order/planselector.jsp for the last 18 months or so and they've been pretty good.

Serializatin problem: attributes null

2009-01-21 Thread Dessorry
Hi i've some class as below: interface A B implements A implements Serializable with attributes b1 and b2 C extends B implments Serializable On the serve i do: A a=new C() i set the attributes b1 and b2 and i try to send it to the client. but in the client i riceive a C class that have b1 and

Re: ListBox

2009-01-21 Thread Venkat
Hi Jake, I got it worked, I need one help, is it possible to popup a panel when a checkbox is clicked. Venkat On Jan 20, 7:09 pm, jake H pnosti...@gmail.com wrote: I m not sure if I understood u completely. Even though CheckBox supports setWidth , its pointless to change it. ( tick box )

How to know if my application is running in Firefox or in IE or in any other browser

2009-01-21 Thread LFCPD
Hi all, I'd like to know if it is possible to know in which browser is running an application web. For example, in the code write something like this: String actualBrowser = GWT.getBrowser(); if (actualBrowser == firefox) { do this; } else if (actualBrowser == ie) { do that; } else {

Re: How to know if my application is running in Firefox or in IE or in any other browser

2009-01-21 Thread Lothar Kimmeringer
LFCPD schrieb: I'd like to know if it is possible to know in which browser is running an application web. Before answering that, for what do you need the information? Dependent on the answer to this question you might be able to solve your problem in different ways. Regards, Lothar

Re: What are you using for a backend??

2009-01-21 Thread sloughran
Hey guys, Thank you for all the information. This question is for my home use side of things where I am looking for cheap web hosting with a DB to drive my GWT App. So, I think to remain affordable, I will try my hand at JSON and PHP or PYTHON. I've heard great things about PYTHON, but I also

Re: How to know if my application is running in Firefox or in IE or in any other browser

2009-01-21 Thread gregor
Hi LFCPD, I agree with Lothar that you should try to achieve your objective without recourse to detecting the browser. You are not clear if a) you are inserting the Strings in program code or b) user is typing them in. If a) you could back your TextArea entries with a simple model e.g. String

Re: How to know if my application is running in Firefox or in IE or in any other browser

2009-01-21 Thread Lothar Kimmeringer
LFCPD schrieb: In a TextArea I insert different strings separated by a new line symbol ('\n'). And they are shown well in Firefox and in IE. i.e.: If I insert the string: Monday\nTuesday\nWednesday\n... It is shown like this in the textArea: Monday Tuesday Wednesday Later in the code I

Re: Browser Issues- Please help me

2009-01-21 Thread Adam T
Either set the size of your panels programmatically or through CSS - browsers can/will display FlowPanels differently which I believe is what you are seeing; or user a Vertical Panel for your check boxes/ label combinations. //Adam On 21 Jan, 12:25, venkat raman venkivo...@gmail.com wrote: Hi

Re: How to know if my application is running in Firefox or in IE or in any other browser

2009-01-21 Thread LFCPD
I'll try to explain in detail what my application does: I have this problem in a form that must be filled, and the TextArea is in this form (form1). The TextArea is filled using another form (form2). The form2 is opened when a button in the form1 ('Add') is clicked. In the form2 there are two

Re: How to know if my application is running in Firefox or in IE or in any other browser

2009-01-21 Thread LFCPD
Look at the following image to follow the explanation: http://www.picoodle.com/view.php?img=/3/1/21/f_formsm_8ebd0b5.jpgsrv=img32 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to

Re: Browser Issues- Please help me

2009-01-21 Thread alex.d
Had almoust the same issue few weeks ago. At least i gave up on using FlowPanel and switched to FlexTable which size i change dynamically. May not be as elegant as using FlowPanel but at least it works in all supported browsers. On 21 Jan., 14:58, Adam T adam.t...@gmail.com wrote: Either set

Re: How to know if my application is running in Firefox or in IE or in any other browser

2009-01-21 Thread sepp maier
Why is the Endpoint Target a TextArea and not a ListBox too? On 21 Jan., 15:19, LFCPD laieta.hip.hop...@gmail.com wrote: Look at the following image to follow the explanation:http://www.picoodle.com/view.php?img=/3/1/21/f_formsm_8ebd0b5.jpgsrv...

Re: How to know if my application is running in Firefox or in IE or in any other browser

2009-01-21 Thread Lothar Kimmeringer
LFCPD schrieb: my application reads the content of the TextArea (string1\nstring2\nstring3\n...) to fill the second listbox, but in firefox the content is read bad. And I think that you do something wrong when reading from the text- box and filling in the data into the listbox. That's the

Re: How to know if my application is running in Firefox or in IE or in any other browser

2009-01-21 Thread LFCPD
It was my last option... make another ListBox. Is it the only solution? Why IE recognizes \n and Firefox not? I can't believe it! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to

Re: Browser Issues- Please help me

2009-01-21 Thread Danny Schimke
I would use VerticalPanel. I think thats the easiest way and I never had sizing- problems with that widget. 2009/1/21 alex.d alex.dukhov...@googlemail.com Had almoust the same issue few weeks ago. At least i gave up on using FlowPanel and switched to FlexTable which size i change dynamically.

Re: Problem with file upload

2009-01-21 Thread Daniele
I don't understand.. 2009/1/20, gregor greg.power...@googlemail.com: There's something weird about this. Have you tried (while the image is in limbo, i.e. just after you've saved it) copying exactly the same URL string as your GWT client code produces into your browser/new browser tab?

RequestBuilder form not ready message

2009-01-21 Thread seven.reeds
Hi, I am modifying a small GWT app that has been working for a while. It creates a RequestBuilder connection to an existing CGI script. I have added a new value that is passed through the request to the script. When I submit the form I am now getting a dialogue-box (like a Windows.alert()

Casting from long to int

2009-01-21 Thread Rune V. Sjoen
If I try to cast a long to an int value my browser just becomes unresponsive (firefox) and I have to kill it. Also trying to append to a StringBuffer using sb.append(mylong + ) or sb.append(String.valueOf (mylong)) will cause the same effects. Any idea how (if) I can cast a long to an int, or if

ImageElement in canvas with no title

2009-01-21 Thread soundseeker
GWT Release: 1.5.3 + canvas The following code produces images without title (no tooltip, firefox 2.x/3.x): String[] urls = new String[] {img/circle-green.gif}; ImageLoader.loadImages(urls, new ImageLoader.CallBack() { public void onImagesLoaded(ImageElement[]

Error

2009-01-21 Thread Naveen
Hi, I am getting the following errors while compiling: 1. Unable to find com/google/gwt/maps/GoogleMaps.gwt.xml on your classpath, could be a typo, or maybe you forgot Any help is appreciated. --~--~-~--~~~---~--~~ You received this message because you are

Opening a GWT Hyperlink that references a PDF or jpg file from the GTW Client – Error 404 – Not Found

2009-01-21 Thread orborca
Hi, I’m new to gwt so pardon me if this is trivial. I have a situation where the SOA server creates and passes back to my GTW client a SOAP message attachment. I have written a file handler class (down in my gwt server folder area) to stream in the data and write it to the disk on the machine

how to store values in gwt wigets from one jsp page to next page

2009-01-21 Thread Ben
Hi Im new to gwt I have few quries 1)how to store values in gwt wigets from one jsp page to next page. 2) how to switch betwen http and https. 3) how to maintain session in an integration with spring on client side. Thanks Ben --~--~-~--~~~---~--~~ You

Filling a form

2009-01-21 Thread jucimarjr
Hi, I would like to know if is possible (with gwt) the fields that I'm filling in a form auto-complete by itself. Understand? If I didn't use gwt, these fields auto-complete if I use the same word in a form, yeah? But with gwt, is this possible? Regards, Jucimar Júnior.

Doubt about post addition

2009-01-21 Thread Júnior
Hi, I sent a new post at the Discussions about 2 hours ago and the post didn't appear at the Discussions. So, I'd like to know what's the problem... Regards, Jucimar Cândido. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

Re: Popular Application Design Tool for Java/GWT

2009-01-21 Thread tv
Argo UML is the best answer I have come up with. Like google it or something. On Jan 15, 5:20 pm, tv thomas.vilha...@gmail.com wrote: Hi, I have a pretty clear idea for thearchitectureof a web application that I want to create (incorporating GWT/Java/Hibernate/MySQL). However, I am not a

Re: ListBox

2009-01-21 Thread debillin
Venkat, I would recommend reading about Event Listeners of all kinds. In this case, I would add a listener to your checkbox to create a new PopupPanel when clicked. On Jan 21, 5:27 am, Venkat venkivo...@gmail.com wrote: Hi Jake, I got it worked, I need one help, is it possible to popup a

Re: Problem with file upload

2009-01-21 Thread gregor
OK, say I have test project com.willow.sandbox.Sandbox.gwt.xml I run project in hosted mode and URL in the hosted mode browser when I run it is: http://localhost:/com.willow.sandbox.SandBox/SandBox.html I manually put an image in c:\\src\com\willow\sandbox\public\images \star.gif I

Re: Images does not disply on IE browser in vista plateform

2009-01-21 Thread Sumit Chandel
Hi ship, I wasn't able to reproduce this problem (i.e. using an image and sourcing it appropriately, I was able to view the image in both IE6 XP / IE7 Vista. Are you still experiencing issues? Perhaps this is related to a configuration issue on your Vista machine. Regards, -Sumit Chandel On

Re: What are you using for a backend??

2009-01-21 Thread Adligo
Hey, I used java RPC and .net (C#) HttpHandlers JSON (mostly due to a office climate). I found with GWT 1.4 and 1.5 java was easier to deal with on the server side. Also in GWT 1.5 localhost running on a different port got a GWT security Exception so that java with RPC wins hands down in my

Stock Watcher Tutorial

2009-01-21 Thread Arend van der Veen
HI All, I am sure this is a very simple question but it has me stumped. I am using GWT 1.5.3 on Ubuntu 8.04 LTS and Java 1.5.0_15. I am not using Eclipse. I have been building he Stock Watcher demo and have everything working great up to but not including Use Remote Procedure Calls. After I

Re: GWT StockWatcher Tutorial

2009-01-21 Thread Arend van der Veen
Hi Sumit, Could you elaborate for a newbee how you would compile the servlet and add it to the GWTShell process. I am using GWT 1.5.3 on Linux with Java 1.5 (I am not using Eclipse yet). Thanks in advance. Arend On Jan 8, 8:45 pm, Sumit Chandel sumitchan...@google.com wrote: *GWTShell

Uses of generator to proxying a service call

2009-01-21 Thread Javier Mena
Hi, I need to check, that everytime I call a service, the user is logged in the application. To do this I make a call to a function called isLoggedIn(). I need to do before every call to every service (except for a single function that is used to check the service) so I've been thinking in

Re: best practice for server with GWT

2009-01-21 Thread Sumit Chandel
Hi Tony, It seems to me that what you're trying to solve has more to do with server-side programming rather than client-side programming in GWT. On the client-side, you have the standard situation where you make a call (either through RPC or the RequestBuilder) and you handle the asynchronous

Re: GWT StockWatcher Tutorial

2009-01-21 Thread Arend van der Veen
Hi Sumit, I figured it out and works. Please ignore my previous post. Regards, Arend On Jan 21, 3:45 pm, Arend van der Veen arend.vanderv...@gmail.com wrote: Hi Sumit, Could you elaborate for a newbee how you would compile the servlet and add it to the GWTShell process.  I am using GWT

Re: Stock Watcher Tutorial

2009-01-21 Thread Arend van der Veen
Hi, I have found a work around but still do not understand why I had to do this. What I did was the following: 1. I created a directory called bin 2. I then compiled my server code using the following: ~/srs-2/src$ javac -cp $GWT_HOME/gwt-user.jar -d ../bin com/google/gwt/

Re: Stock Watcher Tutorial

2009-01-21 Thread Isaac Truett
I am not using Eclipse. Eclipse, like any good IDE, compiles for you automatically in the background. I haven't taken the tutorial in question, but if it assumes you are using Eclipse then that would explain why it doesn't explicitly tell you to compile your servlet. On Wed, Jan 21, 2009 at

Localization of com.google.gwt.gen2.datepicker.client.DateBox

2009-01-21 Thread bond
Hi, how I can Localizate to italian the display of DateBox? now the name of month and days are in english. Thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group,

Parent Window using Splitters and DialogBox Question

2009-01-21 Thread sjn...@gmail.com
I have a created a main window that uses vertical and horizontal splitters, VerticalSplitPanel and HorizontalSpiltPanel. There's 5 separate panes in the main view. If I try to open a dialog box, DialogBox in the main window the dialog box isn't usable and the app freezes. The only way I found to

Trouble with Panels expanding and size not setting

2009-01-21 Thread vroom_vroom
Hello, I am new to GWT and having some difficulties with laying the panels out on the screen and them setting the size properly. First I had a TabPanel with a Tree in it. I set the size of the TabPanel like so: navTabPanel.setSize(250px, 750px); This does not appear to do anything though. When I

GWT and MS Office interoperability

2009-01-21 Thread DanM
Hello - Is it possible to do a mail merge with MS Word using GWT? TIA --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

Re: java.io.Serializable

2009-01-21 Thread tomekp
Hi guys! Thanks for all the answers. I just wanted to confirm that problems which I observe are indeed very similar to what danox and Arthur have reported. I'm also using spring framework and I also wanted to keep some part of my code GWT-agnostic (the module is a command line client, so it

XHR GET always return same value

2009-01-21 Thread shinji
Hi guys... I am new in GWT programming. I have a problem when research GWT technology for my next development. I have a GWT project on my eclipse on this folder structure: == [ - ] T-Shop [ - ] src [ - ] shop [ - ] public

Re: ListBox

2009-01-21 Thread Venkat
Hey Debillin, Thanks for your reply, I got it after some time spending on the the listeners. It worked. Thanks Venkat On Jan 22, 12:23 am, debillin debil...@gmail.com wrote: Venkat, I would recommend reading about Event Listeners of all kinds. In this case, I would add a listener to your

accessing jsapi in native method

2009-01-21 Thread Srikesh
Hi, I am building a web application using GWT. In this application we are using intensity maps provided by google. In the example provided in the google website script tag is used for accessing this API(http://www.google.com/jsapi;). Can you please provide pointers how to access this API in

Re: Filling a form

2009-01-21 Thread Litty Preeth
Hi, Auto complete will work on static HTML fields only, ie. the fields should be present in the HTML files and not added on the fly (as in case of GWT). Please see section auto-complete and GWT of http://code.google.com/p/google-web-toolkit-incubator/wiki/LoginSecurityFAQ I have not tried this

Re: Trouble with Panels expanding and size not setting

2009-01-21 Thread alex.d
Can you make a simple and small example that demonstrates the problem? On 21 Jan., 23:14, vroom_vroom slabarb...@gmail.com wrote: Hello, I am new to GWT and having some difficulties with laying the panels out on the screen and them setting the size properly. First I had a TabPanel with a

[gwt-contrib] Re: help needed on gwt-maven-plugin

2009-01-21 Thread nicolas de loof
The same script can run the shell with a inlined classpath : set CLASSPATH=D:\platina\repository\com\google\gwt\gwt-user\1.5.3\gwt-user-1.5.3.jar;D:\platina\repository\com\google\gwt\gwt-dev\1.5.3\gwt-dev-1.5.3-windows.jar ... java -cp %CLASSPATH%

[gwt-contrib] Re: help needed on gwt-maven-plugin

2009-01-21 Thread Olivier Modica
Hi, I wrote a blog post about this exact subject here: http://development.lombardi.com/?p=380 I believe this will help. My understanding is that EmbeddedTomcatServer doesn't set up the ClassLoader as you would expect. Thanks, Olivier. On Jan 21, 2:17 am, nicolas de loof

[gwt-contrib] [google-web-toolkit commit] r4508 - releases/1.6/user/test/com/google/gwt/user/client

2009-01-21 Thread codesite-noreply
Author: j...@google.com Date: Wed Jan 21 09:50:06 2009 New Revision: 4508 Modified: releases/1.6/user/test/com/google/gwt/user/client/CommandExecutorTest.java Log: Fixes 1.6 build breakage. CommandExecutorTest was allowing an exception to escape from the test method that was exposed by

[gwt-contrib] Code Review for 1.6: Removes unused HasHandlers#isEventHandled

2009-01-21 Thread rjrjr
Reviewers: jgw, ecc, Description: This patch gets rid of the unused isEventHandled call on the new HasHandlers interface. It is meant to be applied to the releases/1.6 branch. Please review this at http://gwt-code-reviews.appspot.com/2209 Affected files:

[gwt-contrib] CSS for ScrollTable out of date

2009-01-21 Thread Arthur Kalmenson
Hello everyone, I've tried to play around with the gen2 ScrollTable and I found that the CSS posted here: http://code.google.com/p/google-web-toolkit-incubator/wiki/ScrollTable doesn't work. thomas.husfeldt commented 7 comments from the bottom with some updated CSS that sort of works (not as

[gwt-contrib] Re: CSS for ScrollTable out of date

2009-01-21 Thread John LaBanca
You can use the CSS from the gen2 demo: http://code.google.com/p/google-web-toolkit-incubator/source/browse/trunk/src/com/google/gwt/demos/scrolltable/public/ScrollTableDemo.css And the image:

[gwt-contrib] Re: Code Review for 1.6: Removes unused HasHandlers#isEventHandled

2009-01-21 Thread jgw
On 2009/01/21 19:04:33, rjrjr wrote: LGTM. I can't think of any use case that really justifies adding this extra complexity to the HasHandlers interface (certainly not one that couldn't be easily worked around). The fact that there are no callers anywhere in the system makes that even more

[gwt-contrib] Re: GWT 1.5.3: Type mismatch with enum in parameterized class.

2009-01-21 Thread Scott Blum
Isaac, I would put money on our updating to a newer version of JDT. I'd find where Lex committed this upgrade... if there are no code changes, you might try putting the newer JDT higher on the classpath as a test. If that works, simple jar surgery should get you where you want to go. On Wed,

[gwt-contrib] Re: GWT 1.5.3: Type mismatch with enum in parameterized class.

2009-01-21 Thread Bruce Johnson
In terms of the GWT 1.5 code line, we're very unlikely to actually release a 1.5.4...GWT 1.6 is just around the corner. On Wed, Jan 21, 2009 at 6:55 PM, Scott Blum sco...@google.com wrote: Isaac, I would put money on our updating to a newer version of JDT. I'd find where Lex committed this

[gwt-contrib] Re: Code Review for 1.6: Removes unused HasHandlers#isEventHandled

2009-01-21 Thread rjrjr
Committed to releases/1.6 @r4509 On 2009/01/21 21:46:53, jgw wrote: On 2009/01/21 19:04:33, rjrjr wrote: LGTM. I can't think of any use case that really justifies adding this extra complexity to the HasHandlers interface (certainly not one that couldn't be easily worked around). The fact

[gwt-contrib] TBR Incubator review for HasHandlers breakage

2009-01-21 Thread Ray Ryan
Fix submitted TBR emily at incubator r1432. Fixes breakage due to HasHandlers change from gwt r4494 rjrjr --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---

[gwt-contrib] Re: RR : Pluggable CompilePerms workers

2009-01-21 Thread Alex Epshteyn
I spent quite a bit of time trying out this new permutation worker framework (mostly spent stepping through it in my debugger, as I was having issues). Here are my thoughts: 1). The mechanism for designating the number of threads or processes needs to be cleaned up or rethought. The parameter

[gwt-contrib] Re: GWTCanvas and ImageBundle,

2009-01-21 Thread Ray Cromwell
Jaime, If clipping is supported, then I believe you can get the required information from the Image interface: Image.getUrl() Image.getOriginalLeft() Image.getOriginalTop() Image.getHeight() Image.getWidth() With these methods, you should be able to construct a regular Image/IMG and then use