Re: File download using GWT?

2008-11-29 Thread Lothar Kimmeringer
rlaferla schrieb: I have already searched this forum and there is a thread on doing a file download but that's for a file that exists on disk and for various reasons, my application cannot write the string to a file first. There are already a couple of threads covering that topic and if the

Re: ClickListener problem

2008-11-29 Thread Lothar Kimmeringer
tapan schrieb: I have 3 buttons each having their own ClickListener . The problem is that after clicking once on a button the ClickListener does not work second time until the page has been refreshed. How can i correct this error without refreshing the page every time. Some source showing

IE7 Error in cache.html's Javascript

2008-11-29 Thread KevinF
Hi everyone, I'm running into a really weird problem with IE7 when I view my site that was created using GWT. The client makes several calls to the server to retrieve Lists of information. This problem does not occur in Firefox 3 nor in Safari. The error I'm getting is Line: 2818 Char: 3

Re: SecureRemoteService and Servlet. The battle against XSRF.

2008-11-29 Thread Reinier Zwitserloot
You're asking me if some Reinier Approved algorithm would meet with my approval? Uh, yes. I have a question for you, though: Does a gregor approved method of shooting a puppy meet with your approval? If not, can you explain why? On Nov 28, 9:02 pm, gregor [EMAIL PROTECTED] wrote: @Reinier

Re: Timer In Gwt

2008-11-29 Thread Reinier Zwitserloot
Not A Problem - Just Add The Timer Behaviour To Your Custom Subclass Of Label. For Example, You Could Add A SetVisible Method To This Label Subclass That Also Includes a Milliseconds Parameter (The Time To Display The Message). All Your Method Does Is Call Super.SetVisible (X), And Then Start The

Re: TextArea cannot be resolved to a type

2008-11-29 Thread Reinier Zwitserloot
Go through the GWT Getting started guide. You've screwed up your installation somehow, or you're not using the right command line. It's not a matter of code, it's just that some tool in the chain can't find the TextArea class code. For the rest - really, this is a forum, not a university. Just

Re: Body Background disappear

2008-11-29 Thread KevinF
Yes, you are right Ian. I found out after I got the idea that it must be some CSS that's overriding my body styles. The hard part was finding out where this CSS was and it turned out to be a theme that's used in a GWT library I was including in my class path. Sigh... took me a while to find it.

Re: Problems adding a Digg This link

2008-11-29 Thread Charlie Collins
Can't you just add the script element to your host page, the same way you would in HTML? That is to say, don't try to recreate the script element in Java and have GWT insert it, just put it on the host page (the same place you put the gwt script tag, etc). On Nov 27, 11:33 pm, mayop100 [EMAIL

Re: XML to UI Forms

2008-11-29 Thread Charlie Collins
I don't think this is exactly what you are asking, but the GWT declarative UI track is aiming to make UI building a bit easier by making it, well, declarative. You might find some more ideas, or clarification, at least regarding XML to UI widgets, in those threads.

Re: SecureRemoteService and Servlet. The battle against XSRF.

2008-11-29 Thread gregor
Sorry Reiner, I wasn't being trying to be facetious. I just wanted to understand exactly what you are saying really. As I understand it so far: a) Don't send sessionID as cookies - deliberately configure app server to stop it using cookies for tracking sessionIDs b) Don't send sessionID as

Debug problem

2008-11-29 Thread Scooter
I debug using netbeans and recently updated to 6.5 and tested GWT support for debug etc. Everything worked as expected. Today for some reason when I go and debug by right clicking debug on the project in netbeans the normal process begins and the GWT shell and browser startup. Then the operating

Re: SecureRemoteService and Servlet. The battle against XSRF.

2008-11-29 Thread Reinier Zwitserloot
Replies inline... On Nov 29, 2:08 pm, gregor [EMAIL PROTECTED] wrote: a) Don't send sessionID as cookies - deliberately configure app server to stop it using cookies for tracking sessionIDs This does mean that sessions don't survive the user reloading the page or closing his browser. This is

Re: Problems adding a Digg This link

2008-11-29 Thread Reinier Zwitserloot
I doubt digg's js thingie is written by an intelligent developer (digg has a track record of sorts). There IS a way to write such widget scripts so they work in all situations, including the peculiar way GWT builds webpages, but not many web widgets work this way. So, assuming for a moment that

Re: Problems adding a Digg This link

2008-11-29 Thread Charlie Collins
Reinier is correct there, it's more complicated than I was making it. That Digg script works quite a bit differently than I was guessing before I actually looked at it. What I meant is still possible, but probably not what you want depending on the situation. If your host page has a separate div

Generating JARs of client code?

2008-11-29 Thread LooneyLynn
Hello, I created the usual eclipse project layout with the applicationCreator and so... Now I want to generate a JAR file representing my client- side GWT code including the RPC interface I defined. My intention is to use this JAR file in another JAVA project to implement the RPC interface, so

Unable to store current user in session due to badly behaving getThreadLocalRequest()

2008-11-29 Thread ijonas
Hi, I'm trying to the remeber/store the current user in the HttpSession object returned by RemoteServiceServlet.getThreadLocalRequest ().getSession(). Unfortunately RemoteServiceServlet.getThreadLocalRequest() returns null, causing a subsequent NPE when I call getSession(). public class

Computers

2008-11-29 Thread [EMAIL PROTECTED]
A computer is a machine that manipulates data according to a list of instructions. The first devices that resemble modern computers date to the mid-20th century (1940–1945), although the computer concept and various machines similar to computers existed earlier. Modern computers are based on

Re: Captcha

2008-11-29 Thread dablack
Micky, I came across this one on SourceForge.net: http://sourceforge.net/search/?type_of_search=softwords=skewpassimage I wasn't able to get the jar file to work in my environment so I included the source in with mine and made the modifications to it needed to get it to run properly in my

Re: Unable to store current user in session due to badly behaving getThreadLocalRequest()

2008-11-29 Thread olivier nouguier
Hi The only issue you may encounter is to call getThreadLocalRequest in another thread ... On Sat, Nov 29, 2008 at 9:13 AM, ijonas [EMAIL PROTECTED] wrote: Hi, I'm trying to the remeber/store the current user in the HttpSession object returned by RemoteServiceServlet.getThreadLocalRequest

Re: TextArea cannot be resolved to a type

2008-11-29 Thread moe374
Thank you for your response. I did actually find the getText() and setText() methods before writting this, I was just a little unsure as to how to implement them. the URL feature is an essential element of the program I am trying to write. Since I can't do this with GWT and I can't do this using

For what this files?

2008-11-29 Thread rov.ciso
I compile my GWT application with gwt-ext. After that gwt create some files: GwtExt.css js Directory But I don't use this files in my HTML file. For what this file? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: Problem with the import java.security.*;

2008-11-29 Thread medgey
If you are trying to use the java.security package on the client it is unlikely that GWT supports them. On Nov 28, 6:08 am, Phani [EMAIL PROTECTED] wrote: Hi All, In my application i have to implement a unique number generation i.e UUID using SecureRandom class of java.security package.

Re: @EJB annotation during junit testing doesn't work

2008-11-29 Thread medgey
If you are running outside of a container then you will need to instantiate your EJBs yourself ('new). This is unrelated to GWT. On Nov 27, 7:53 am, jolero [EMAIL PROTECTED] wrote: Hello everybody. While developing junit tests in GWT app I have stucked on a problem that I cannot solve for

Re: Problems adding a Digg This link

2008-11-29 Thread mayop100
Thanks for the prompt feedback guys. I played around with the HTML widget, but I wasn't able to get it to actually execute the script. I didn't want to just include it in my index.html file... I plan to have multiple digg this links on the site, and each one will need to jump to the appropriate

Re: TextArea cannot be resolved to a type

2008-11-29 Thread Reinier Zwitserloot
Do it on the server. If that is no option, write desktop software (something you install and that doesn't run in a browser at all). You can also use web based platforms that allow signing / trusting, such as applets, but be aware that users will need to hand the keys to the kingdom to your app,

Re: Compilation Problem

2008-11-29 Thread rahul
I am seeing the same issue with 1.5.3. I am seeing a NullPointerException when I edit my app sources in Eclipse and use the Compile/Browse option in the Hosted browser. Rahul On Nov 28, 12:16 pm, Sandile [EMAIL PROTECTED] wrote: I get an error every time that I try to compile my code:

Re: IE7 Error in cache.html's Javascript

2008-11-29 Thread KevinF
Ok, I found the issue... seems it was a programming error on my part. Not waiting for all Lists to come back from the server before processing it in the client. I wish there was some easy way to handle this kind of thing. Is there some way to make some requests synchronous? It seems the reason

FileUpload and Chrome

2008-11-29 Thread Michel
Hi, I have a panel with a FileUpload widget. It works fine in hosted mode, Internet Explorer and Mozilla, but not in Chrome. In Chrome, it looks slightly different, and the upload fails at the server end. In the others, the upload works just fine. In the other browsers (ie not Chrome), the