myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lof...@apache.org
Subject svn commit: r1345907 - /myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/util/RenderUtils.java
Date Mon, 04 Jun 2012 10:15:42 GMT
Author: lofwyr
Date: Mon Jun  4 10:15:42 2012
New Revision: 1345907

URL: http://svn.apache.org/viewvc?rev=1345907&view=rev
Log:
TOBAGO-1049: Tree inside of the Sheet (aka TreeTable)
fixing ambiguous

Modified:
    myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/util/RenderUtils.java

Modified: myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/util/RenderUtils.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/util/RenderUtils.java?rev=1345907&r1=1345906&r2=1345907&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/util/RenderUtils.java
(original)
+++ myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/util/RenderUtils.java
Mon Jun  4 10:15:42 2012
@@ -383,7 +383,6 @@ public class RenderUtils {
         break;
       }
 
-//        final Object rowData = data.getRowData();
       final TreePath path = data.getPath();
 
       // marked
@@ -392,11 +391,10 @@ public class RenderUtils {
         final boolean oldMarked = markedState.isMarked(path);
         final boolean newMarked = ((Integer) rowIndex).equals(markedIndex);
         if (newMarked != oldMarked) {
-//          new TreeMarkedEvent(node, oldValue, newValue).queue();
           if (newMarked) {
             markedState.setMarked(path);
           } else {
-            markedState.setMarked(null);
+            markedState.setMarked((TreePath)null);
           }
         }
       }
@@ -406,7 +404,6 @@ public class RenderUtils {
       final boolean oldExpanded = expandedState.isExpanded(path);
       final boolean newExpanded = expandedIndices.contains(rowIndex);
       if (newExpanded != oldExpanded) {
-//          new TreeExpansionEvent(node, oldValue, newValue).queue();
         if (newExpanded) {
           expandedState.expand(path);
         } else {



Mime
View raw message