You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by Apache Wiki <wi...@apache.org> on 2006/11/10 11:27:51 UTC

[Myfaces Wiki] Update of "WorkingWithLargeTables" by MaciejBodus

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Myfaces Wiki" for change notification.

The following page has been changed by MaciejBodus:
http://wiki.apache.org/myfaces/WorkingWithLargeTables

------------------------------------------------------------------------------
              page = fetchPage(rowIndex, pageSize);
          }
  
+         // Check if rowIndex is equal to startRow,
+         // useful for dynamic sorting on pages
+ 		
+ 	if (rowIndex == page.getStartRow()){
+ 		page = fetchPage(rowIndex, pageSize);
+         }
+ 
          int datasetSize = page.getDatasetSize();
          int startRow = page.getStartRow();
          int nRows = page.getData().size();