Author: nbelaevski
Date: 2009-04-08 10:11:46 -0400 (Wed, 08 Apr 2009)
New Revision: 13435
Modified:
trunk/framework/api/src/main/java/org/richfaces/model/StackingTreeModel.java
Log:
https://jira.jboss.org/jira/browse/RF-6639
Modified: trunk/framework/api/src/main/java/org/richfaces/model/StackingTreeModel.java
===================================================================
---
trunk/framework/api/src/main/java/org/richfaces/model/StackingTreeModel.java 2009-04-08
14:03:51 UTC (rev 13434)
+++
trunk/framework/api/src/main/java/org/richfaces/model/StackingTreeModel.java 2009-04-08
14:11:46 UTC (rev 13435)
@@ -288,6 +288,8 @@
TreeRange treeRange = (TreeRange) range;
if (treeRange == null || treeRange.processNode(argumentKey)) {
+ getRoot().setRowKey(context, argumentKey);
+
if (argumentKey != null) {
processElement(context, dataVisitor, argument, argumentKey, last);
}
@@ -302,6 +304,8 @@
Iterator iterator = this.getInternalModelsIterator();
while (iterator.hasNext()) {
final StackingTreeModel model = (StackingTreeModel) iterator.next();
+
+ getRoot().setRowKey(context, argumentKey);
final ExtendedDataModel scalarModel = model.getDataModel();
Argument argument2 = new Argument();