You could listen on any state change of the request, not just "completed" and "timeout". If no event handler is invoked whatsoever for a long time, I suggest you debug the server side, maybe the issue is there.
T. On 03/16/2012 06:38 PM, [email protected] wrote: > Hello, > > i want to add 4000 ids to send via post like this > > for(var row = 0 ; row< > this.parent.table2.getTableModel().getRowCount(); row++) { > for(var column = 0 ; column< > this.parent.table2.getTableModel().getColumnCount(); column++) { > req.setParameter("KDID["+row+"]" > , this.parent.table2.getTableModel().getValue(0,row)); > } > } > when i start the request haveing 400-500 ids i got no problems. when i > have more like 4-5000 the request dosent come back. nos success , no > erro. here is my reqest > alert("ok); and alert("Timeout Error: "+ j) dosent appear. what can > be the problem. > > req.addListener("completed", function(e) { > alert("ok"); > var j = e.getContent(); > > },this); > req.addListener("timeout", function(e) { > var j = e.getContent(); > alert("Timeout Error: "+ j); > },this); > req.send(); // Send Request > } > catch (ex) { > alert("VNo Server: " + ex.toString()); > } > > ------------------------------------------------------------------------------ > This SF email is sponsosred by: > Try Windows Azure free for 90 days Click Here > http://p.sf.net/sfu/sfd2d-msazure > _______________________________________________ > qooxdoo-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > > ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
