Author: mvitenkov
Date: 2009-03-24 14:45:52 -0400 (Tue, 24 Mar 2009)
New Revision: 13159
Modified:
trunk/test-applications/seamApp/web/src/main/java/org/richfaces/helloworld/domain/tree/Bean.java
Log:
Modified:
trunk/test-applications/seamApp/web/src/main/java/org/richfaces/helloworld/domain/tree/Bean.java
===================================================================
---
trunk/test-applications/seamApp/web/src/main/java/org/richfaces/helloworld/domain/tree/Bean.java 2009-03-24
18:04:07 UTC (rev 13158)
+++
trunk/test-applications/seamApp/web/src/main/java/org/richfaces/helloworld/domain/tree/Bean.java 2009-03-24
18:45:52 UTC (rev 13159)
@@ -190,7 +190,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));
keys.add(dirtyKey);
tree.setRowKey(dirtyKey);
ajaxCtx.addComponentToAjaxRender(tree.getParent(), tree.getClientId(fctx));
@@ -207,7 +207,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();
@@ -312,7 +312,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);
}
Show replies by date