Author: konstantin.mishin
Date: 2008-06-06 12:23:40 -0400 (Fri, 06 Jun 2008)
New Revision: 8933
Modified:
trunk/framework/impl/src/main/java/org/richfaces/model/ModifiableModel.java
Log:
RF-3012
Modified: trunk/framework/impl/src/main/java/org/richfaces/model/ModifiableModel.java
===================================================================
--- trunk/framework/impl/src/main/java/org/richfaces/model/ModifiableModel.java 2008-06-06
14:04:42 UTC (rev 8932)
+++ trunk/framework/impl/src/main/java/org/richfaces/model/ModifiableModel.java 2008-06-06
16:23:40 UTC (rev 8933)
@@ -109,7 +109,7 @@
Object argument) throws IOException {
final SequenceRange seqRange = (SequenceRange) range;
int rows = seqRange.getRows();
- int rowCount = rowKeys !=null ? rowKeys.size() : -1;
+ int rowCount = getRowCount();
int currentRow = seqRange.getFirstRow();
if(rows > 0){
rows += currentRow;
@@ -118,7 +118,7 @@
rows = rowCount;
}
for (; currentRow < rows; currentRow++) {
- visitor.process(context, rowKeys.get(currentRow), argument);
+ visitor.process(context, currentRow, argument);
}
}
Show replies by date