Hi,

I am sorry that I cannot stay in the thread but somehow the mail
delivery was disabled because some messages bounced back to sourceforge.

Anyway, I have made a screenshot as well:

http://www.einsamerplanet.de/screen.png

Once again, the code:

var r = new qx.io.remote.Request("/fs/mkdir.json/"+path, "POST",
"application/json")
                  r.setFormField("name", name);
                  r.addListener("completed", function(e) {
                        alert(e.getStatusCode());
                        var sel = this.ftree.getSelection();
                        if(sel && sel.length)
                           this.reloadItem(sel[0]);
                     }, this);
                  r.addListener("failed", function(e) {
                     alert("failed");
                        if (e.getStatusCode() == 403)
                           alert("Creation of the directory failed. It
either already exists or you don't have the appropriate permissions.");
                     }, this);
                  r.send();

Btw.: If I make a request I usually use a variable called "r" - I just
thought maybe the browser is kind of confused and calls the handler with
an earlier response from one of those GETs that really have a 200 status
code.... 

Thanks once again,

Jörg



------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to