Re: [qooxdoo-devel] Download button / iframe / Basic Auth

2013-03-19 Thread Daniel Wagner
Hi Markus, have you tried opening a new window, e.g. using qx.bom.Window.open(csvUrl)? Regards, Daniel On 03/15/2013 10:17 AM, non wrote: > Hi, > > I'd like to switch my app to Basic Auth and everything seems to work quite > well. > But I have problems getting my CSV downloads to work: > > * Pur

[qooxdoo-devel] Download button / iframe / Basic Auth

2013-03-15 Thread non
Hi, I'd like to switch my app to Basic Auth and everything seems to work quite well. But I have problems getting my CSV downloads to work: * Pure XHR download does not trigger any download/save dialog in browser. As far as I know, there's no way utilizing XHR for this. * Setting window.location.

Re: [qooxdoo-devel] Download Button

2009-03-26 Thread Dietrich Streifert
Just a few minutes and answering to myself :-( Bad boy ;-) Setting the Content-disposition to "attachment; filename=test.pdf" obviously triggers a file download and avoids the file view within the browser. I think I decided (years ago) to use inline because of some restrictive firewall setti

Re: [qooxdoo-devel] Download Button

2009-03-26 Thread Roman Schmid
>>> first time and if the user allows to download the site gets reloaded. >>> After that the downloads work perfect. >>> >>> I simple start the downloads with a small function: >>> >>> startDownload : function(url) { >>> //have to reset the so

Re: [qooxdoo-devel] Download Button

2009-03-26 Thread Dietrich Streifert
Gesendet: Freitag, 13. Februar 2009 08:22 An: qooxdoo Development Betreff: Re: [qooxdoo-devel] Download Button Hi Roman! I'm simply doing a window.open(url); within the execute event listener for the button. That used to work 'til now. Roman Schmid schrieb: Hello List In my

Re: [qooxdoo-devel] Download Button

2009-02-15 Thread Hugh Gibson
> my first solution for a download you mentioned was window.open. Its > works perfect on development with localhost. > But after deployment on a webserver the popup-blockers of the > several clients made problems and it didn't work with every > security setting. If you simplify the javascript t

Re: [qooxdoo-devel] Download Button

2009-02-13 Thread Sebastian Werner
: >> >> startDownload : function(url) { >> //have to reset the source if the same download was requested before! >> if (dlFrame.getSource() === url) { >> dlFrame.resetSource(); >> } >> dlFrame.setSource(url); >> } >> >> -Ursprüngliche

Re: [qooxdoo-devel] Download Button

2009-02-13 Thread Roman Schmid
l); > } > > -Ursprüngliche Nachricht- > Von: Dietrich Streifert [mailto:dietrich.streif...@visionet.de] > Gesendet: Freitag, 13. Februar 2009 08:22 > An: qooxdoo Development > Betreff: Re: [qooxdoo-devel] Download Button > > Hi Roman! > > I'm simply doing a

Re: [qooxdoo-devel] Download Button

2009-02-13 Thread Fink, Andreas
ich.streif...@visionet.de] Gesendet: Freitag, 13. Februar 2009 08:22 An: qooxdoo Development Betreff: Re: [qooxdoo-devel] Download Button Hi Roman! I'm simply doing a window.open(url); within the execute event listener for the button. That used to work 'til now. Roman Schmid schrieb:

Re: [qooxdoo-devel] Download Button

2009-02-12 Thread Dietrich Streifert
Hi Roman! I'm simply doing a window.open(url); within the execute event listener for the button. That used to work 'til now. Roman Schmid schrieb: > Hello List > > In my application I'd like to provide a "download-File" option to the > user. Now I'm wondering how this is accomplished best

Re: [qooxdoo-devel] Download Button

2009-02-12 Thread Jonathan Weiß
Hello Roman, this is an interesting topic. I would create an qx.ui.embed.Iframe, hide it and set the "source" property to the download file. Please let me know if this works for you. Kind regards, Jonathan On 12.02.2009, at 15:53, Roman Schmid wrote: Hello List In my application I'd lik

[qooxdoo-devel] Download Button

2009-02-12 Thread Roman Schmid
Hello List In my application I'd like to provide a "download-File" option to the user. Now I'm wondering how this is accomplished best using qooxdoo. Is there a way to have a button trigger a file download? Do i have to set the Request transport to "Iframe"? Apparently, there's no responseType "ap