Sorry, I'm not sure if I was quite clear -- what you describe is actually more-or-less what I needed. I figure I need to transfer the contents of someRichTextArea.getText() from the client to the server, and then trigger a download of the file from the server to the client. Regarding the latter part, although I haven't implemented it yet, this thread over on stackoverflow seems to be what I need to do:
http://stackoverflow.com/questions/2822667/download-dynamic-file-with-gwt On Fri, Nov 19, 2010 at 4:30 PM, Jeff Chimene <[email protected]> wrote: > You don't have access to the local file system in that way. You could > upload the text to the server, then send it as a separate file via a GET. > > On Fri, Nov 19, 2010 at 4:41 PM, Neil Halelamien <[email protected]>wrote: > >> Does anybody have pointers on how one might go about saving the contents >> of a RichTextArea to a file on a client's machine? Hopefully this question >> isn't too general... >> >> -- Neil >> >> -- >> 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]<google-web-toolkit%[email protected]> >> . >> For more options, visit this group at >> http://groups.google.com/group/google-web-toolkit?hl=en. >> > > -- > 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]<google-web-toolkit%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > -- 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.
