Author: konstantin.mishin
Date: 2009-03-20 12:48:46 -0400 (Fri, 20 Mar 2009)
New Revision: 13064
Modified:
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/tree/TreeTestBean.java
Log:
RF-6523
Modified:
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/tree/TreeTestBean.java
===================================================================
---
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/tree/TreeTestBean.java 2009-03-20
16:31:17 UTC (rev 13063)
+++
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/tree/TreeTestBean.java 2009-03-20
16:48:46 UTC (rev 13064)
@@ -108,7 +108,7 @@
Object state = null;
if(null != draggedNodeKey) {
// 1. mark its parent as wanting rerendering
- tree.addRequestKey(tree.getTreeNodeRowKey(draggedNode.getParent()));
+ tree.addRequestKey(draggedNodeKey.getParentKey());
// 2. remove node from tree
state = tree.removeNode(draggedNodeKey);
// 3. add the node at the new place