Author: nbelaevski
Date: 2010-07-07 09:40:35 -0400 (Wed, 07 Jul 2010)
New Revision: 17760
Modified:
root/ui/iteration/trunk/lists/ui/src/main/java/org/richfaces/renderkit/ListRendererBase.java
root/ui/iteration/trunk/lists/ui/src/main/resources/META-INF/resources/org.richfaces/list.ecss
root/ui/iteration/trunk/lists/ui/src/test/java/org/richfaces/renderkit/ListRendererTest.java
Log:
https://jira.jboss.org/browse/RF-8852
Modified:
root/ui/iteration/trunk/lists/ui/src/main/java/org/richfaces/renderkit/ListRendererBase.java
===================================================================
---
root/ui/iteration/trunk/lists/ui/src/main/java/org/richfaces/renderkit/ListRendererBase.java 2010-07-07
13:25:55 UTC (rev 17759)
+++
root/ui/iteration/trunk/lists/ui/src/main/java/org/richfaces/renderkit/ListRendererBase.java 2010-07-07
13:40:35 UTC (rev 17760)
@@ -146,7 +146,7 @@
}
rendererUtils.writeAttribute(writer, HTML.CLASS_ATTRIBUTE,
- HtmlUtil.concatClasses(helper.getRowClass(), helper.getColumnClass(),
"rf-lst-d rf-dlst-d"));
+ HtmlUtil.concatClasses(helper.getRowClass(), helper.getColumnClass(),
"rf-lst-i rf-dlst-d"));
renderHandlers(context, sequence);
rendererUtils.encodeChildren(context, sequence);
writer.endElement(HTML.DD_ELEMENT);
Modified:
root/ui/iteration/trunk/lists/ui/src/main/resources/META-INF/resources/org.richfaces/list.ecss
===================================================================
---
root/ui/iteration/trunk/lists/ui/src/main/resources/META-INF/resources/org.richfaces/list.ecss 2010-07-07
13:25:55 UTC (rev 17759)
+++
root/ui/iteration/trunk/lists/ui/src/main/resources/META-INF/resources/org.richfaces/list.ecss 2010-07-07
13:40:35 UTC (rev 17760)
@@ -1,4 +1,4 @@
-.rf-lst-i, .rf-lst-t {
+.rf-lst-i, .rf-dlst-t, .rf-dlst-d {
font-size: '#{richSkin.generalSizeFont}';
font-family: '#{richSkin.generalFamilyFont}';
color: '#{richSkin.generalTextColor}';
Modified:
root/ui/iteration/trunk/lists/ui/src/test/java/org/richfaces/renderkit/ListRendererTest.java
===================================================================
---
root/ui/iteration/trunk/lists/ui/src/test/java/org/richfaces/renderkit/ListRendererTest.java 2010-07-07
13:25:55 UTC (rev 17759)
+++
root/ui/iteration/trunk/lists/ui/src/test/java/org/richfaces/renderkit/ListRendererTest.java 2010-07-07
13:40:35 UTC (rev 17760)
@@ -150,7 +150,7 @@
HtmlElement item = (HtmlElement) definitionItems.get(i);
assertEquals("dd", item.getNodeName());
- assertEquals("rf-lst-d rf-dlst-d",
item.getAttribute("class"));
+ assertEquals("rf-lst-i rf-dlst-d",
item.getAttribute("class"));
assertEquals(data.getDefinition(), item.asText());
}
}