Re: Reading a local file

2010-08-13 Thread salk31
If you really must keep it on the client side you could use a signed Java applet but that is quite a lot of work and various hassles with different platforms. JS/Applet communication works pretty well. -- You received this message because you are subscribed to the Google Groups Google Web

Re: Reading a local file

2010-08-12 Thread cokol
actually, its the way you look for, you can also make a classic FileUpload using just HTML forms and write own servlet to save/parse the contents and to return the results in old-web manner (full page reload) On 11 Aug., 23:22, Greg Dougherty dougherty.greg...@mayo.edu wrote: My users want my

Reading a local file

2010-08-11 Thread Greg Dougherty
My users want my app to be able to read data from a local file. So far as I can tell, the only way to do this is to have a FileUpload Widget in a form, send the contents of the file to the server, and then get the contents from the server (i.e. send the form with a unique ID attached, then make

Re: Reading a local file

2010-08-11 Thread Thad
If your document is text, you can do what I did--return the text in the addSubmitCompleteHandler: form.addSubmitCompleteHandler(new FormPanel.SubmitCompleteHandler() { public void onSubmitComplete(FormPanel.SubmitCompleteEvent event) { // This

Re: Reading a local file.

2010-04-15 Thread Lothar Kimmeringer
edarroyo schrieb: Is it possible to read a file that resides on the user's computer? Isn't it possible to look for messages using a search engine to check if that question has been asked before? http://groups.google.com/group/google-web-toolkit/search?group=google-web-toolkitq=read+local+file

Reading a local file.

2010-04-14 Thread edarroyo
Is it possible to read a file that resides on the user's computer? My applications does not need a server so all the code would reside on the client side. I want the user to point me to a file on his computer so I can read and calculate some data and then just display with no kinds of calls to the