Author: tkuprevich
Date: 2009-03-20 10:24:38 -0400 (Fri, 20 Mar 2009)
New Revision: 13059
Modified:
trunk/test-applications/jsp/src/main/java/tree/Bean.java
Log:
Modified: trunk/test-applications/jsp/src/main/java/tree/Bean.java
===================================================================
--- trunk/test-applications/jsp/src/main/java/tree/Bean.java 2009-03-20 14:24:15 UTC (rev
13058)
+++ trunk/test-applications/jsp/src/main/java/tree/Bean.java 2009-03-20 14:24:38 UTC (rev
13059)
@@ -193,7 +193,7 @@
tree.setRowKey(null);
// 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));
@@ -210,7 +210,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) {
e.printStackTrace();
@@ -315,7 +315,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);
}
@@ -349,5 +349,5 @@
}
-
+
}
Show replies by date