myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From grantsm...@apache.org
Subject svn commit: r640869 - /myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/component/html/ext/HtmlDataTable.java
Date Tue, 25 Mar 2008 15:57:45 GMT
Author: grantsmith
Date: Tue Mar 25 08:57:43 2008
New Revision: 640869

URL: http://svn.apache.org/viewvc?rev=640869&view=rev
Log:
https://issues.apache.org/jira/browse/TOMAHAWK-1200 patch applied

Modified:
    myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/component/html/ext/HtmlDataTable.java

Modified: myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/component/html/ext/HtmlDataTable.java
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/component/html/ext/HtmlDataTable.java?rev=640869&r1=640868&r2=640869&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/component/html/ext/HtmlDataTable.java
(original)
+++ myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/component/html/ext/HtmlDataTable.java
Tue Mar 25 08:57:43 2008
@@ -344,14 +344,16 @@
             {
                 setRowIndex(rowIndex);
 
+                //scrolled past the last row
+                if (!isRowAvailable())
+                {
+                    break;
+                }
+
                 if (!isCurrentDetailExpanded())
                 {
                     continue;
                 }
-
-                //scrolled past the last row
-                if (!isRowAvailable())
-                    break;
 
                 // If we are in the decode phase, the values restored into our
                 // facet in setRowIndex() may be incorrect. This will happen



Mime
View raw message