Author: nbelaevski
Date: 2007-06-08 08:07:33 -0400 (Fri, 08 Jun 2007)
New Revision: 1096
Modified:
trunk/richfaces/common/src/main/java/org/richfaces/renderkit/html/BaseGradient.java
trunk/richfaces/common/src/main/resources/META-INF/skins/plain.skin.properties
Log:
- "plain" skin fixed
- gradient image fixed
Modified:
trunk/richfaces/common/src/main/java/org/richfaces/renderkit/html/BaseGradient.java
===================================================================
---
trunk/richfaces/common/src/main/java/org/richfaces/renderkit/html/BaseGradient.java 2007-06-08
11:06:13 UTC (rev 1095)
+++
trunk/richfaces/common/src/main/java/org/richfaces/renderkit/html/BaseGradient.java 2007-06-08
12:07:33 UTC (rev 1096)
@@ -207,7 +207,7 @@
}
String tmp = (String) skin.getParameter(context,name);
- if (tmp!=null && tmp.length() == 0) {
+ if (tmp!=null && tmp.length() != 0) {
return new Integer(HtmlColor.decode(tmp).getRGB());
} else {
return null;
Modified: trunk/richfaces/common/src/main/resources/META-INF/skins/plain.skin.properties
===================================================================
---
trunk/richfaces/common/src/main/resources/META-INF/skins/plain.skin.properties 2007-06-08
11:06:13 UTC (rev 1095)
+++
trunk/richfaces/common/src/main/resources/META-INF/skins/plain.skin.properties 2007-06-08
12:07:33 UTC (rev 1096)
@@ -1,5 +1,5 @@
#Colors
-headerBackgroundColor=
+headerBackgroundColor=#{null}
headerGradientColor=#{null}
headerTextColor=#{null}
headerWeightFont=#{null}
Show replies by date