Thanks. I've just applied this change to SVN. Sebastian
Marco Emiliozzi schrieb:
I’m using the QxBuilder.buildFromUrl feature. I looked around in the subversion and in the mailing list archive but I didn’t find any report of this problem I found. In the actual version the source code looks like this:proto.buildFromUrl = function(parent, url) { var loader = new QxXmlHttpLoader(); var self = this; loader.addEventListener("complete", function(e) { self.build(parent, e.getData()); e.preventDefault(); self.dispatchEvent(new QxEvent("done"), true); }); loader.load(url); };It uses QxXmlHttpLoader object that is not defined anywhere. So I made a correction myself:proto.buildFromUrl=function(parent,url) { var loader=new QxRequest(url, "GET", "text/plain");var self=this; loader.addEventListener("completed", function(e) { var parser = new DOMParser();var xmldoc = parser.parseFromString(e.getData().getContent(), "text/xml");self.build(parent, xmldoc.documentElement);e.preventDefault(); self.dispatchEvent(new QxEvent("done"),true); }); loader.send(); };It works fine now.
------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
