String node = req.getParameter("node");
String expandSvr = req.getParameter("expandOnServer");
//System.err.println("TreeCommand:" + ((expand) ? "expand" : "collapse") +
// " Tree:" + tree + " Node:" + node + " expandSvr:" + expandSvr);
NameService ns = NameService.instance(req.getSession());
assert(ns != null);
// get the tree from the name service
INameable n = ns.get(tree);
if (n == null) {
logger.error("Tree '" + tree + "' was not found in the NameService");
return;
}
if (!(n instanceof ITreeRootElement)) {