> There are wider implications of returning -1 from getRowCount as it 
> is used in other places and not checked properly; and a wider review
> is required.

Having eliminated the call to getRowCount from _updateStatusBar, I now
find that the qx.ui.table.pane.Scroller constructor is calling
getRowCount.

In our case we have a communications layer which handles these multiple
calls cleanly, but only by luck. Basically we set up observers for values.
When the observers are no longer required we delete them. We only send
observer requests to the server after all the current code has completed
execution (by setting an immediate timeout). If the observer has never
gone out to the server it can be deleted in the Javascript code. 

Therefore when opening a table we have two instances of the observer for
row count being opened. The second time we delete the first row count
observer and the server never sees it.

Hugh

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to