Hi all of you,

I've html data generated in qooxdoo. Now I want to send it to backend (php
script) to get back a pdf file.

My questions:

1. What is the best way to call my php script and pass my html data as a
param of the request? I've tried:

                                        var html = this.__genHTML();
                                        var req = new
qx.io.remote.Request(url);
                                        req.setFileUpload(true);
                                        req.setFormField('html', html); 
                                        req.addListener("success", function(e) {
                                          var req = e.getTarget();              
                        
                                          req.getResponse();
                                        }, this);
                                        
                                        req.send();
 
but failed with 'Request-URI Too Large'.

2. how to display the result of the request (the streamed pdf file) in a
browser window.

Regards

--
View this message in context: 
http://qooxdoo.678.n2.nabble.com/How-to-send-HUGE-amount-of-data-and-get-back-a-file-tp7235246p7235246.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to