Author: pyaschenko
Date: 2009-06-03 12:06:29 -0400 (Wed, 03 Jun 2009)
New Revision: 14459
Modified:
branches/community/3.3.X/ui/togglePanel/src/main/resources/org/richfaces/renderkit/html/css/toggleControl.xcss
branches/community/3.3.X/ui/togglePanel/src/main/templates/toggleControl.jspx
branches/community/3.3.X/ui/togglePanel/src/test/java/org/richfaces/component/TogglePanelComponentTest.java
Log:
https://jira.jboss.org/jira/browse/RF-7306
Modified:
branches/community/3.3.X/ui/togglePanel/src/main/resources/org/richfaces/renderkit/html/css/toggleControl.xcss
===================================================================
---
branches/community/3.3.X/ui/togglePanel/src/main/resources/org/richfaces/renderkit/html/css/toggleControl.xcss 2009-06-03
15:59:14 UTC (rev 14458)
+++
branches/community/3.3.X/ui/togglePanel/src/main/resources/org/richfaces/renderkit/html/css/toggleControl.xcss 2009-06-03
16:06:29 UTC (rev 14459)
@@ -3,7 +3,7 @@
xmlns:u='http:/jsf.exadel.com/template/util'
xmlns="http://www.w3.org/1999/xhtml" >
<f:verbatim><![CDATA[
- .dr-tglctrl{
+ .rich-toggle-ctrl{
}
Modified: branches/community/3.3.X/ui/togglePanel/src/main/templates/toggleControl.jspx
===================================================================
---
branches/community/3.3.X/ui/togglePanel/src/main/templates/toggleControl.jspx 2009-06-03
15:59:14 UTC (rev 14458)
+++
branches/community/3.3.X/ui/togglePanel/src/main/templates/toggleControl.jspx 2009-06-03
16:06:29 UTC (rev 14459)
@@ -20,7 +20,7 @@
x:passThruWithExclusions="id,href,name,onclick,class"
onclick="#{this:getOnClick(context,component)}; return false;"
- class="dr-tglctrl rich-tglctrl
#{component.attributes['styleClass']}"
+ class="rich-toggle-ctrl #{component.attributes['styleClass']}"
#{component.attributes['value']}
<vcp:body>
<f:call name="renderChildren" />
Modified:
branches/community/3.3.X/ui/togglePanel/src/test/java/org/richfaces/component/TogglePanelComponentTest.java
===================================================================
---
branches/community/3.3.X/ui/togglePanel/src/test/java/org/richfaces/component/TogglePanelComponentTest.java 2009-06-03
15:59:14 UTC (rev 14458)
+++
branches/community/3.3.X/ui/togglePanel/src/test/java/org/richfaces/component/TogglePanelComponentTest.java 2009-06-03
16:06:29 UTC (rev 14459)
@@ -155,8 +155,7 @@
HtmlElement div_control = page.getHtmlElementById(toggleControl
.getClientId(facesContext));
String classAttr = div_control.getAttributeValue("class");
- assertTrue(classAttr.contains("dr-tglctrl"));
- assertTrue(classAttr.contains("rich-tglctrl"));
+ assertTrue(classAttr.contains("rich-toggle-ctrl"));
}
/**