Re: [qooxdoo-devel] button executing a download link

2013-10-11 Thread Micha
On Thu, 10 Oct 2013 14:03:37 +0530 Baskar Vignesh wrote: > Hi Micha, > > You can use hidden iframe for this purpose... > Set iframe src to file url on button click event. > > and please refer following url for catching errors in iframe > > http://stackoverflow.com/questions/3705083/how-can-i-h

Re: [qooxdoo-devel] button executing a download link

2013-10-10 Thread Baskar Vignesh
Hi Micha, You can use hidden iframe for this purpose... Set iframe src to file url on button click event. and please refer following url for catching errors in iframe http://stackoverflow.com/questions/3705083/how-can-i-handle-errors-in-loading-an-iframe *Thanks & Regards,* Baskar.M *www.ther

[qooxdoo-devel] button executing a download link

2013-10-10 Thread Micha
Hi, I have a button which when pressed should execute a file download (the browser open a filebrowser to save the file). I do this with a window.open(url) call in the execute event. This works but how can I react on errors on the server side, for example showing a message if the file as not fou