Author: nbelaevski
Date: 2008-04-24 09:30:21 -0400 (Thu, 24 Apr 2008)
New Revision: 8123
Modified:
trunk/framework/impl/src/main/java/org/richfaces/renderkit/html/images/GradientAlignment.java
Log:
GradientAlignment: default changed to MIDDLE
Modified:
trunk/framework/impl/src/main/java/org/richfaces/renderkit/html/images/GradientAlignment.java
===================================================================
---
trunk/framework/impl/src/main/java/org/richfaces/renderkit/html/images/GradientAlignment.java 2008-04-24
13:24:45 UTC (rev 8122)
+++
trunk/framework/impl/src/main/java/org/richfaces/renderkit/html/images/GradientAlignment.java 2008-04-24
13:30:21 UTC (rev 8123)
@@ -69,7 +69,7 @@
public static final GradientAlignment getByParameter(String string) {
if (string == null || string.length() == 0) {
- return TOP;
+ return MIDDLE;
}
return GradientAlignment.valueOf(string.toUpperCase());