Hi everyone,

thron7-2 wrote:
> 
> I actually don't think that this is trivial.
> 

thron is right: this isn't that trivial. I've played with this a couple of
months ago, while trying to find a client-side only solution, but I wasn't
able to reach a cross-implementation solution yet.

In the meantime, the standard way of doing this is using the proper HTTP
headers in the server-side: "Content-Type" for specifying the file MIME type
("text/csv", for example) and "Content-Disposition" [1] to force a download
and hint for a filename. ;-)


Hope this helps,
 Helder


[1] http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html#sec19.5.1
-- 
View this message in context: 
http://old.nabble.com/How-to-trigger-a-download-when-clicking-a-qooxdoo-button-tp26352283p26532713.html
Sent from the qooxdoo-devel mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to