Author: jonesde
Date: Thu Mar 12 08:20:54 2009
New Revision: 752806
URL:
http://svn.apache.org/viewvc?rev=752806&view=revLog:
Changed tree widget code to use plain space instead of nbsp in order to work better with the encoding, and not actually show the ampersand and semicolon; thanks to Marco for pointing this out
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=752806&r1=752805&r2=752806&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 Thu Mar 12 08:20:54 2009
@@ -86,7 +86,7 @@
//expandCollapseLink.setText(" + ");
currentNodeTrailPiped = StringUtil.join(currentNodeTrail, "|");
expandCollapseLink.setStyle("collapsed");
- expandCollapseLink.setText(" ");
+ expandCollapseLink.setText(" ");
String target = node.getModelTree().getExpandCollapseRequest(context);
String trailName = node.getModelTree().getTrailName(context);
if (target.indexOf("?") < 0) {
@@ -106,7 +106,7 @@
currentNodeTrailPiped = "";
}
expandCollapseLink.setStyle("expanded");
- expandCollapseLink.setText(" ");
+ expandCollapseLink.setText(" ");
String target = node.getModelTree().getExpandCollapseRequest(context);
String trailName = node.getModelTree().getTrailName(context);
if (target.indexOf("?") < 0) {
@@ -123,7 +123,7 @@
} else if (!hasChildren) {
context.put("processChildren", Boolean.FALSE);
expandCollapseLink.setStyle("leafnode");
- expandCollapseLink.setText(" ");
+ expandCollapseLink.setText(" ");
renderLink(writer, context, expandCollapseLink);
}
}