Author: pyaschenko
Date: 2010-11-04 09:50:28 -0400 (Thu, 04 Nov 2010)
New Revision: 19930
Modified:
trunk/core/api/src/main/java/org/richfaces/skin/Skin.java
trunk/ui/input/ui/src/main/java/org/richfaces/renderkit/html/images/CalendarSeparator.java
Log:
http://jira.jboss.com/jira/browse/RF-9635
Modified: trunk/core/api/src/main/java/org/richfaces/skin/Skin.java
===================================================================
--- trunk/core/api/src/main/java/org/richfaces/skin/Skin.java 2010-11-04 13:14:03 UTC (rev
19929)
+++ trunk/core/api/src/main/java/org/richfaces/skin/Skin.java 2010-11-04 13:50:28 UTC (rev
19930)
@@ -148,7 +148,7 @@
* color, the table header color, color of the title of the active tab in the
tabpanel,
* color of the title on the buttons. Default value #FFFFFF.
*/
- public static final String HEAD_TEXT_COLOR = "headTextColor";
+ public static final String HEADER_TEXT_COLOR = "headerTextColor";
/**
* Parameter responsible for 3D Look of panels and buttons.
Modified:
trunk/ui/input/ui/src/main/java/org/richfaces/renderkit/html/images/CalendarSeparator.java
===================================================================
---
trunk/ui/input/ui/src/main/java/org/richfaces/renderkit/html/images/CalendarSeparator.java 2010-11-04
13:14:03 UTC (rev 19929)
+++
trunk/ui/input/ui/src/main/java/org/richfaces/renderkit/html/images/CalendarSeparator.java 2010-11-04
13:50:28 UTC (rev 19930)
@@ -34,6 +34,7 @@
import javax.faces.context.FacesContext;
+import org.richfaces.resource.DynamicResource;
import org.richfaces.resource.ImageType;
import org.richfaces.resource.Java2DUserResource;
import org.richfaces.resource.PostConstructResource;
@@ -45,6 +46,7 @@
* @author amarkhel
*
*/
+@DynamicResource
public class CalendarSeparator implements Java2DUserResource, StateHolderResource {
private static final Dimension DIMENSION = new Dimension(1, 15);
@@ -56,7 +58,7 @@
FacesContext context = FacesContext.getCurrentInstance();
Skin skin = SkinFactory.getInstance(context).getSkin(context);
- this.headerTextColor = skin.getColorParameter(context, Skin.HEAD_TEXT_COLOR);
+ this.headerTextColor = skin.getColorParameter(context, Skin.HEADER_TEXT_COLOR);
}
public boolean isTransient() {