You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lu...@apache.org on 2010/08/17 05:24:40 UTC

svn commit: r986178 - /myfaces/tomahawk/trunk/core20/src/main/java/org/apache/myfaces/component/html/ext/AbstractHtmlDataTable.java

Author: lu4242
Date: Tue Aug 17 03:24:39 2010
New Revision: 986178

URL: http://svn.apache.org/viewvc?rev=986178&view=rev
Log:
TOMAHAWK-1534 t:dataTable detailStamp facet sometimes is not saved

Modified:
    myfaces/tomahawk/trunk/core20/src/main/java/org/apache/myfaces/component/html/ext/AbstractHtmlDataTable.java

Modified: myfaces/tomahawk/trunk/core20/src/main/java/org/apache/myfaces/component/html/ext/AbstractHtmlDataTable.java
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core20/src/main/java/org/apache/myfaces/component/html/ext/AbstractHtmlDataTable.java?rev=986178&r1=986177&r2=986178&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/core20/src/main/java/org/apache/myfaces/component/html/ext/AbstractHtmlDataTable.java (original)
+++ myfaces/tomahawk/trunk/core20/src/main/java/org/apache/myfaces/component/html/ext/AbstractHtmlDataTable.java Tue Aug 17 03:24:39 2010
@@ -322,7 +322,7 @@ public abstract class AbstractHtmlDataTa
         /*Just for obtaining an iterator which must be passed to saveDescendantComponentStates()*/
         Set set = new HashSet();
         set.add(facet);
-        if (rowIndex != -1 && facet != null)
+        if (getRowIndex() != -1 && facet != null)
         {
             _detailRowStates.put(getContainerClientId(facesContext), saveDescendantComponentStates(set.iterator(), false));
         }