how to open a save as dialog box on the client side

2010-06-06 Thread Alex
i have a html 5 canvas and a button, once the button is pressed, i want to open a save as dialog box for the user to save the drawing on the canvas. there is no server side. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To po

Re: Save as dialog box

2009-08-07 Thread Norman Maurer
answer this one for me: > I have this button when it's clicked I want a "Save as" dialog box to > show, > I used Window.open in the ClickHandler and it worked great, a window > opened and then a the "save as" dialog box showed, BUT when I added an > http

Re: Save as dialog box

2009-08-06 Thread Charlie
Well maybe someone can answer this one for me: I have this button when it's clicked I want a "Save as" dialog box to show, I used Window.open in the ClickHandler and it worked great, a window opened and then a the "save as" dialog box showed, BUT when I added an http req

Re: Save as dialog box

2009-08-06 Thread jhulford
Just use a standard link. If the content type header on the response from the download page is set to something other than html/xml you'll get the browser's file save/execute dialog and it won't navigate away from the current page. On Aug 5, 8:16 pm, Charlie wrote: > Hello > Right now I'm using

Re: Save as dialog box

2009-08-06 Thread Charlie
Anyone? Is there any way to avoid the refresh of my application? On Aug 6, 4:16 am, Charlie wrote: > Hello > Right now I'm using "Window.open" function in order for the user to > download files from my web-app but this leads to the internet exploer > do the block bar and when you enable it , it

Save as dialog box

2009-08-05 Thread Charlie
Hello Right now I'm using "Window.open" function in order for the user to download files from my web-app but this leads to the internet exploer do the block bar and when you enable it , it refreshes the page is there any way to avoid this? I searched around but couldn't find anything that works.

Re: save as dialog

2009-02-12 Thread ytbryan
thank you all for your reply. now i understand how to do the save-as dialog. But my servlet is using RemoteServiceServlet. can i just use rpc to receive the response? if no, how to implement httpservlet with remoteserviceservlet? On Feb 12, 2:01 pm, luisfpg wrote: > Your server should sen

Re: save as dialog

2009-02-12 Thread luisfpg
> http://groups.google.com/group/Google-Web-Toolkit/browse_thread/threa... > > etc... > > On Feb 11, 11:43 pm, ytbryan wrote: > > > Hi, > > > thank you for your reply. > > > But how do I offer the file as a download? > >  I can create a hyperlink

Re: save as dialog

2009-02-12 Thread cyril.lakech
9d50221499e etc... On Feb 11, 11:43 pm, ytbryan wrote: > Hi, > > thank you for your reply. > > But how do I offer the file as a download? >  I can create a hyperlink using HTML class. but I want the save as > dialog box to be opened automatically. how can i do it? please &g

Re: save as dialog

2009-02-11 Thread ytbryan
Hi, thank you for your reply. But how do I offer the file as a download? I can create a hyperlink using HTML class. but I want the save as dialog box to be opened automatically. how can i do it? please advice! On Feb 11, 5:01 pm, Matías Costa wrote: > On Wed, Feb 11, 2009 at 4:53

Re: save as dialog

2009-02-11 Thread Matías Costa
On Wed, Feb 11, 2009 at 4:53 PM, ytbryan wrote: > > Hi all, > > i already created a servlet that make a csv file frommy Resultset and > save it to a predetermined location. > > However, i would like the user to choose the location to be stored and > the name of the csv file. can someone advice me

Re: save as dialog

2009-02-11 Thread A Friend Of Yours
Hello Sorry to just jump in here. I wanted to ask how to offer a download to user in GWT? Cause the hyperlink control in GWT as far I know can not be a real direct hyperlink to a file on a web server of ftp server! Or I there might be a situation when I want it not to be a direct link so that it

Re: save as dialog

2009-02-11 Thread mbracken
I assume you mean the name/location to save the csv file on the client's local machine. If you offer them the file as a download then the browser should handle giving them the option of Saving/Opening the file and from there they can choose the location and name. You can't customize this, but i

save as dialog

2009-02-11 Thread ytbryan
Hi all, i already created a servlet that make a csv file frommy Resultset and save it to a predetermined location. However, i would like the user to choose the location to be stored and the name of the csv file. can someone advice me what to do? --~--~-~--~~~---~--~