Thanks for your hint Hugh.
I've done it by using a workaround with the NativeWindow:

var hString = "";
for (var i = 0; i < this.columns[0].length; i++) {
        hString += "&headers=" +this.columns[0][i];
}
var w1 = new qx.client.NativeWindow("/qooxdooBackend/.sylk?hql=" +this.hql 
+hString);
w1.open();

This works for the moment but I think it would be better to send the request 
with "POST"-method. The header-array could become very long. Maybe I can do 
this with a dynamic created html-form. I'll try it, if time allowes ;)

-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Hugh Gibson
Gesendet: Freitag, 4. April 2008 15:25
An: qooxdoo-devel@lists.sourceforge.net
Betreff: Re: [qooxdoo-devel] How to let the Broswer handle servler response

> The response is type of "application/vnd.ms-excel" and normally the
> browser should ask the user if he would save or open the response. I
> don't know how to implement this in a qooxdoo application maybe 
> someone could help here.

You could do window.location=url to override the main window, or set up
an iframe and set the src property to the url. That way the browser
should interpret the response in the correct way and offer the user the
choice.

Hugh

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to