Author: nbelaevski
Date: 2009-03-18 19:43:02 -0400 (Wed, 18 Mar 2009)
New Revision: 13019
Modified:
trunk/samples/tree-demo/src/main/java/org/richfaces/Bean.java
Log:
https://jira.jboss.org/jira/browse/RF-4351
Modified: trunk/samples/tree-demo/src/main/java/org/richfaces/Bean.java
===================================================================
--- trunk/samples/tree-demo/src/main/java/org/richfaces/Bean.java 2009-03-18 23:32:23 UTC
(rev 13018)
+++ trunk/samples/tree-demo/src/main/java/org/richfaces/Bean.java 2009-03-18 23:43:02 UTC
(rev 13019)
@@ -255,7 +255,7 @@
// Force more than one node to update here:
for (int i = 0; i < 5; i++)
{
- ListRowKey dirtyKey = new ListRowKey(Integer.toString(i));
+ ListRowKey dirtyKey = new ListRowKey(null, Integer.toString(i));
tree.addRequestKey(dirtyKey);
tree.setRowKey(dirtyKey);
ajaxCtx.addComponentToAjaxRender(tree.getParent(), tree.getClientId(fctx));
@@ -288,7 +288,7 @@
public String expand() {
if (expandPath != null && expandPath.length() != 0) {
try {
- tree.queueNodeExpand(new ListRowKey(expandPath));
+ tree.queueNodeExpand(new ListRowKey(null, expandPath));
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
@@ -406,7 +406,7 @@
String pathToExpand = getPathToExpand();
if (pathToExpand != null && pathToExpand.trim().length() != 0) {
try {
- ((UITree) getTree()).queueNodeExpand(new ListRowKey(pathToExpand));
+ ((UITree) getTree()).queueNodeExpand(new ListRowKey(null, pathToExpand));
} catch (IOException e) {
throw new FacesException(e);
}