when i try the following code and set the"Asynchronous" to false  i get 
my clickoncell event  repeated by the system when the data is laoded.:(

i click once and after teh data is laoded the sstem    use the click 
again.:(

In my test when i set the "Asynchronous" like below  all works fine.


                    this.tableModel1.resetHiddenRows();
                    
this.tableModel1.removeRows(0,(this.tableModel1.getRowCount()));
                    var req = new 
qx.io.remote.Request(makebiz.system.Globals.processorURL, "POST", 
"application/json");
                    req.setRequestHeader("Content-Type", 
"application/x-www-form-urlencoded");
                    req.setAsynchronous(true);
                    req.setTimeout(5000);
                    req.setParameter("m", "dokumentenverwaltung");
                    req.setParameter("c", "getStruktur");
                    req.setParameter("status", 
this.statusSelectBox1.getSelection()[0].getUserData("ID"));
                    req.setParameter("startdatum", startdatum);
                    req.setParameter("stopdatum", stopdatum);
                    req.setParameter("PARENTID", PARENTID);
                    req.addListener("completed", function(e) {
                        var j = e.getContent();
                        if(!isNaN(j["USERID"]) && j["result"] == "OK") {
                            if(j["data"]) {
                                this.PARENTID = j["data"]["PARENTID"];
                                if(j["data"]["list"]) {
                                    
this.tableModel1.addRows(j["data"]["list"]);
                                    
this.table1.setTableModel1(this.tableModel1);
                                    this.updateListFilter();
                                    }
                                }
                            }
                        },this);
                    req.addListener("timeout", function(e) {
                        var j = e.getContent();
                        alert("Timeout Error: "+ j);
                        },this);
                    req.send(); // Send Request

------------------------------------------------------------------------------
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