I think there is a bug in class LargeSelect. result set pagination cycles into the first memoryLimit block. This is evident choosing memoryPageLimit=1 in LargeSelect constructor; (by the way, method setMemoryPageLimit() does not works); in this case, the page returned is alway the first. In mehod getResults(int start, int size), fromIndex and toIndex variables indicates results List portion to return as a page. fromIndex is set to: fromIndex = start - blockBegin; when block size is equal to page size (memoryLimit == pageSize), fromIndex is always 0. The page is always the same. This would be correct if results List wolud contain ONLY block results, but this is not true; results List contains all query results, including current block.
__________________________________________________________________ Tiscali ADSL, l'offerta su misura per te a partire da 24,95 euro al mese! Scopri la tua adsl ideale con il TEST ON LINE http://point.tiscali.it/adsl/ -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
