[richfaces-svn-commits] JBoss Rich Faces SVN: r307 - trunk/richfaces/tree/src/main/java/org/richfaces/component.

richfaces-svn-commits at lists.jboss.org richfaces-svn-commits at lists.jboss.org
Fri Apr 6 09:56:21 EDT 2007


Author: nbelaevski
Date: 2007-04-06 09:56:20 -0400 (Fri, 06 Apr 2007)
New Revision: 307

Modified:
   trunk/richfaces/tree/src/main/java/org/richfaces/component/UITree.java
Log:
Drag/drop values restored to row key to provide TreeNode access

Modified: trunk/richfaces/tree/src/main/java/org/richfaces/component/UITree.java
===================================================================
--- trunk/richfaces/tree/src/main/java/org/richfaces/component/UITree.java	2007-04-06 13:54:53 UTC (rev 306)
+++ trunk/richfaces/tree/src/main/java/org/richfaces/component/UITree.java	2007-04-06 13:56:20 UTC (rev 307)
@@ -584,7 +584,7 @@
 	}
 
 	public Object getDragValue() {
-		return getRowData();
+		return getRowKey();
 	}
 
 	public UIComponent getComponent() {
@@ -592,7 +592,7 @@
 	}
 
 	public Object getDropValue() {
-		return getRowData();
+		return getRowKey();
 	}
 
 	public void addDropListener(DropListener listener) {




More information about the richfaces-svn-commits mailing list