Hi,

I suggest qx.ui.basic.Label with rich : true so you can render a  myPdf
<urlOfMyPdfDownload>  .
But in order to the browser ask the user to save the pdf as a file (rather
than open it), you should indicate this in a http response of the pdf itself 

Content-Disposition: attachment; filename=myPdf.pdf

if your server environment is java in you download servlet:

response.addHeader("Content-Disposition", "attachment; filename=myPdf.pdf");

if the pdf is downloaded from a static server (apache, lighttpd..) you have
to map this header response in the server.

Regards!



--
View this message in context: 
http://qooxdoo.678.n2.nabble.com/Download-PDF-from-inside-qooxdoo-desktop-tp7587822p7587823.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to