ridDataSource and possible 'race condition'
-------------------------------------------

                 Key: TAPESTRY-2502
                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2502
             Project: Tapestry
          Issue Type: Bug
          Components: Core Components
    Affects Versions: 5.0.13
            Reporter: Martijn Brinkers


GridDataSource requires you to return the number of rows from the
getAvailableRows method. Later prepare gets called allowing you to get
the records (or some of). Now if between the call to getAvailableRows
and prepare some records are deleted you'll end up with less records
then reported by getAvailableRows. Now what should be returned from
getRowValue? I tried returning null but that was not allowed (like in
exceptions occured). 

What I would like is that when getRowValue returns
null that the grid stops requesting more rows. This would also make it
easier when you do not know how many rows you have in advance.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to