Author: jacopoc
Date: Wed Jul 23 04:48:03 2008
New Revision: 679078
URL:
http://svn.apache.org/viewvc?rev=679078&view=revLog:
Formatting fixes and misc cleanups (removed unused entries from the context).
Modified:
ofbiz/trunk/framework/widget/src/org/ofbiz/widget/html/HtmlTreeRenderer.java
Modified: ofbiz/trunk/framework/widget/src/org/ofbiz/widget/html/HtmlTreeRenderer.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/widget/src/org/ofbiz/widget/html/HtmlTreeRenderer.java?rev=679078&r1=679077&r2=679078&view=diff==============================================================================
--- ofbiz/trunk/framework/widget/src/org/ofbiz/widget/html/HtmlTreeRenderer.java (original)
+++ ofbiz/trunk/framework/widget/src/org/ofbiz/widget/html/HtmlTreeRenderer.java Wed Jul 23 04:48:03 2008
@@ -63,9 +63,6 @@
String currentNodeTrailPiped = null;
List<String> currentNodeTrail = UtilGenerics.toList(context.get("currentNodeTrail"));
String staticNodeTrailPiped = StringUtil.join(currentNodeTrail, "|");
- context.put("staticNodeTrailPiped", staticNodeTrailPiped);
- context.put("nodePathString", pathString);
- context.put("depth", Integer.toString(depth));
if (node.isRootNode()) {
appendWhitespace(writer);
renderBeginningBoundaryComment(writer, "Tree Widget", node.getModelTree());
@@ -84,7 +81,7 @@
entityId = (String) context.get(pkName);
}
boolean hasChildren = node.hasChildren(context);
- //Debug.logInfo("HtmlTreeExpandCollapseRenderer, hasChildren(1):" + hasChildren, module);
+ //Debug.logInfo("HtmlTreeExpandCollapseRenderer, hasChildren(1):" + hasChildren, module);
// check to see if this node needs to be expanded.
if (hasChildren && node.isExpandCollapse()) {
@@ -153,9 +150,9 @@
}
renderLink( writer, context, expandCollapseLink);
} else if (!hasChildren){
- //writer.append(" ");
- context.put("processChildren", Boolean.FALSE);
- //currentNodeTrail.add(contentId);
+ //writer.append(" ");
+ context.put("processChildren", Boolean.FALSE);
+ //currentNodeTrail.add(contentId);
}
}