Encode URL in ISO-8859-1

2011-09-27 Thread Mogoye
Hello, I have a GWT app that must open a new window to display a PDF. The PDF is sent by a server that must receive GET URLs with parameters encoded in ISO-8859-1 for special caracters. My problem is that I don't know how to encode this URL in GWT client side. I've found URL.encode but it

Catching Key event in popup

2011-03-23 Thread Mogoye
I've got a GWT app with a login step. user enter its login/pass then press enter or login button to perform login action. If login is invalid a popup signals an error. I want to be able to close the popup when user press ok button or when he hits Esc or Enter. I've added a onPreviewNativeEvent

Re: Detecting blocked RPC

2011-03-23 Thread Mogoye
In fact there where an error in the called URL we forget to add at the end of the URL the RPC servlet url-pattern. So In post we where just asking the index... Now this have been corrected, we have an answer which is 405 or 500 depending on how we construct the CURL or WGET request. So we still

Re: Catching Key event in popup

2011-03-23 Thread Mogoye
I've got it ! Just need to call event.getNativeEvent().stopPropagation(); Well I still don't understand what are consume and cancel ! -- 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: Catching Key event in popup

2011-03-23 Thread Mogoye
No in fact it doesn't works. More over Firefox and IE does not handle events in the same way so when the behaviour is ok in Firefox it doesn't work on IE and inversement. WebApp makes me going crasy ! -- You received this message because you are subscribed to the Google Groups Google Web

Detecting blocked RPC

2011-03-22 Thread Mogoye
We've noticed on our application that sometime some RPC does not answer. When we load the index.html every this is correctly started, but when user try to login = send an RPC to check is user/pass he never receive an answer. Actually we didn't have a clue why we do not have answer and the only

Re: GWT communicate with Tomcat

2011-03-22 Thread Mogoye
Client and server dialog using GWT RPC mecanisms, but once you are on your server you are in pure java so you can do what ever you want to dialog with an other server. HTTP request using any HTTPclient SOAP Sockets... -- You received this message because you are subscribed to the Google Groups

Pbm with PushButton and Images

2009-01-06 Thread Mogoye
Hello all, I want to use PushButton with an image to define the look of the button. So my idea was to use the following code : Image img = _imgBundle.getImage(my_image.gif); PushButton button = new PushButton(img); panel.add(button); I don't understand why but in some buttons, the image is

FileUpload pbm

2008-12-04 Thread Mogoye
Hello, I need to upload a file to my server. Looking to GWT API the only way to do that seems to use FileUpload class associated with a FormPanel. My problem is that I already know the name of the file to upload and don't want to ask to my user to select it on the file system. My 1th idea was

Pbm with gwt-voices and FireFox

2008-11-28 Thread Mogoye
I'm trying to use GWT voices to play audio in a web app but I've got a problem with firefox. Each time I try to play a file with firefox, it ask me to install some additionnal plugins (Quick-time). I've installed it severals times but I've always got the same popup and I can't play any sound.

Re: Problem with javascript accessing Java fct.

2008-10-10 Thread Mogoye
Thx for your very fast answer. But't it does not resolve the problem, I've got the same error. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to