myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ima...@apache.org
Subject svn commit: r379456 - /myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tree2/UITreeData.java
Date Tue, 21 Feb 2006 14:03:08 GMT
Author: imario
Date: Tue Feb 21 06:03:06 2006
New Revision: 379456

URL: http://svn.apache.org/viewcvs?rev=379456&view=rev
Log:
set the tree to the treeWalker (to avoid NPE)

Modified:
    myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tree2/UITreeData.java

Modified: myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tree2/UITreeData.java
URL: http://svn.apache.org/viewcvs/myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tree2/UITreeData.java?rev=379456&r1=379455&r2=379456&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tree2/UITreeData.java
(original)
+++ myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tree2/UITreeData.java
Tue Feb 21 06:03:06 2006
@@ -463,6 +463,7 @@
         UIComponent facet = null;
         TreeWalker walker = getDataModel().getTreeWalker();
         walker.reset();
+        walker.setTree(this);
 
         while(walker.next())
         {



Mime
View raw message