Hi,

AFAIK, the only way to trigger a file download dialog is to actually send a 
request to a server (*) and make sure the server responds with special headers. 
I think, what you're looking after is probably "Content-Disposition 
attachment". Maybe you'll find [1] helpful.

If I follow you correctly, you mentioned your data is "in the client". Does 
that mean you don't have the data on the server? In that case, I guess you'll 
need to save this data and program your backend to send this data back as CSV 
file.

(*) As Derrell pointed out, qx.ui.embed.Iframe should do the job.

Regards,
Tristan

[1] http://www.thingy-ma-jig.co.uk/blog/06-08-2007/force-a-pdf-to-download

Am 15.11.2010 um 15:21 schrieb Joffrey Fuhrer - NOVLOG:

No, I don't need to display the data on the screen: in the end,
I want the application user to have a "whatever.csv" file on his
filesystem that he'll be able to open with whatever application he wants to
use: Excel, opencalc, google docs... Just as if I provided him with a link
like http://hello-world.com/whatever.csv


Thank you once again,

--
Joffrey Fuhrer
NOVLOG Intern

<ATT00001..txt><ATT00002..txt>

------------------------------------------------------------------------------
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to