Author: abelevich
Date: 2010-12-10 12:27:16 -0500 (Fri, 10 Dec 2010)
New Revision: 20508
Modified:
trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/ToolbarRendererBase.java
Log:
fix class concatination
Modified:
trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/ToolbarRendererBase.java
===================================================================
---
trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/ToolbarRendererBase.java 2010-12-10
17:22:28 UTC (rev 20507)
+++
trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/ToolbarRendererBase.java 2010-12-10
17:27:16 UTC (rev 20508)
@@ -219,7 +219,7 @@
writer.startElement(HtmlConstants.TD_ELEM, component);
String separatorClass = "rf-tb-sep";
- concatClasses(separatorClass, (String)
component.getAttributes().get("separatorClass"));
+ separatorClass = concatClasses(separatorClass, (String)
component.getAttributes().get("separatorClass"));
writer.writeAttribute(HtmlConstants.CLASS_ATTRIBUTE, separatorClass, null);
if (separator != null) {
@@ -229,7 +229,7 @@
writer.write(" ");
writer.endElement(HtmlConstants.DIV_ELEM);
} else {
- concatClasses(separatorClass, (String)
component.getAttributes().get("separatorClass"));
+ separatorClass = concatClasses(separatorClass, (String)
component.getAttributes().get("separatorClass"));
writer.writeAttribute(HtmlConstants.CLASS_ATTRIBUTE, separatorClass,
null);
String uri = RenderKitUtils.getResourceURL(itemSeparator, context);