Author: abelevich
Date: 2011-01-20 10:54:34 -0500 (Thu, 20 Jan 2011)
New Revision: 21123
Modified:
trunk/ui/iteration/ui/src/main/java/org/richfaces/renderkit/CollapsibleSubTableTogglerRendererBase.java
Log:
RF-9725 Sub table toggle control: attributes collapseIcon and expandIcon don't work
Modified:
trunk/ui/iteration/ui/src/main/java/org/richfaces/renderkit/CollapsibleSubTableTogglerRendererBase.java
===================================================================
---
trunk/ui/iteration/ui/src/main/java/org/richfaces/renderkit/CollapsibleSubTableTogglerRendererBase.java 2011-01-20
15:54:21 UTC (rev 21122)
+++
trunk/ui/iteration/ui/src/main/java/org/richfaces/renderkit/CollapsibleSubTableTogglerRendererBase.java 2011-01-20
15:54:34 UTC (rev 21123)
@@ -135,6 +135,7 @@
&& (expandIcon.trim().length() > 0 &&
collapseIcon.trim().length() > 0)) {
String image = expanded ? expandIcon : collapseIcon;
+ image = RenderKitUtils.getResourceURL(image, context);
if (image != null && image.trim().length() > 0) {
writer.startElement(HtmlConstants.IMG_ELEMENT, control);
writer.writeAttribute(HtmlConstants.SRC_ATTRIBUTE, image, null);
Show replies by date