Author: nbelaevski
Date: 2008-07-24 13:23:13 -0400 (Thu, 24 Jul 2008)
New Revision: 9774
Modified:
trunk/samples/treeModelDemo/src/main/java/org/richfaces/Loader.java
trunk/samples/treeModelDemo/src/main/webapp/pages/rf-1081.jsp
Log:
https://jira.jboss.org/jira/browse/RF-1081
Modified: trunk/samples/treeModelDemo/src/main/java/org/richfaces/Loader.java
===================================================================
--- trunk/samples/treeModelDemo/src/main/java/org/richfaces/Loader.java 2008-07-24
16:25:23 UTC (rev 9773)
+++ trunk/samples/treeModelDemo/src/main/java/org/richfaces/Loader.java 2008-07-24
17:23:13 UTC (rev 9774)
@@ -80,6 +80,9 @@
dragEntry.getParent().removeEntry(dragEntry);
dropEntry.addEntry(dragEntry);
+ tree.setRowKey(dragValue);
+ tree.clearTreeNodeState();
+
tree.addRequestKey(tree.getParentRowKey(dragValue));
tree.addRequestKey(dropValue);
}
Modified: trunk/samples/treeModelDemo/src/main/webapp/pages/rf-1081.jsp
===================================================================
--- trunk/samples/treeModelDemo/src/main/webapp/pages/rf-1081.jsp 2008-07-24 16:25:23 UTC
(rev 9773)
+++ trunk/samples/treeModelDemo/src/main/webapp/pages/rf-1081.jsp 2008-07-24 17:23:13 UTC
(rev 9774)
@@ -69,7 +69,6 @@
</dnd:dropSupport>
</h:panelGroup>
- <a4j:log popup="false" />
</h:form>
</f:view>
</body>