Modern HTML5 should allow something along those lines, but browser
support is going to be pretty hit or miss. I haven't tried exactly
what you describe, but you should check out FileSystem, FileWriter,
and blob support (http://www.html5rocks.com/en/tutorials/file/
filesystem/). In Chrome at least, you can create a file in a temporary
space, write text to it, and expose that as a filesystem: URL for the
user to click to download.

None of that is reflected in GWT currently. I created overlay types
for the few FileSystem / FileWriter objects I needed on the project
I'm working on, and you could do similarly. Or you could just sling
some JSNI.

Hope that helps,
Derek

On Sep 14, 8:28 am, Marcin Olejarczyk
<[email protected]> wrote:
> Hi,
>
> Is there any possibility to generate *.txt file and give the user the
> opportunity to download this file locally by typical download web
> browser window only by executing GWT client code without any
> involvement on the server side.
>
> Shortly: Click the button, generate file on open download window only
> by the client side.
>
> Thx for any help
>
> /Marcin

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to