You can't directly save the contents of a text area as a file - its a security threat. You have to send the data to your server as a POST request, and then send it back to the client with Content-Disposition:attachment http response header.
--Sri On 2 May 2010 15:33, vmastermac <[email protected]> wrote: > Hi. I'm wondering, how to save file ( that means - text from > TextArea). Is there any special option, function in GXT or GWT ? How > to create "Save as" button ? > > Thank you. > > -- > 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.
