Author: konstantin.mishin
Date: 2011-01-27 13:50:53 -0500 (Thu, 27 Jan 2011)
New Revision: 21291
Modified:
trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/CollapsiblePanelRenderer.java
Log:
RF-10244
Modified:
trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/CollapsiblePanelRenderer.java
===================================================================
---
trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/CollapsiblePanelRenderer.java 2011-01-27
18:46:03 UTC (rev 21290)
+++
trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/CollapsiblePanelRenderer.java 2011-01-27
18:50:53 UTC (rev 21291)
@@ -233,8 +233,7 @@
writer.startElement(DIV_ELEM, component);
writer.writeAttribute(ID_ATTRIBUTE, component.getClientId(context) +
":content", null);
writer.writeAttribute(CLASS_ATTRIBUTE, concatClasses("rf-cp-b",
attributeAsString(component, "bodyClass")), null);
- writer.writeAttribute(STYLE_ATTRIBUTE,
concatStyles(styleElement("display", visible ? "block" :
"none"),
- attributeAsString(component,
"style")), null);
+ writer.writeAttribute(STYLE_ATTRIBUTE, styleElement("display", visible
? "block" : "none"), null);
renderChildren(context, component);
Show replies by date