Author: nbelaevski
Date: 2008-04-22 21:18:47 -0400 (Tue, 22 Apr 2008)
New Revision: 8086
Modified:
branches/3.1.x/ui/calendar/src/main/config/component/calendar.xml
branches/3.1.x/ui/calendar/src/main/java/org/richfaces/component/UICalendar.java
Log:
http://jira.jboss.com/jira/browse/RF-3122
Modified: branches/3.1.x/ui/calendar/src/main/config/component/calendar.xml
===================================================================
--- branches/3.1.x/ui/calendar/src/main/config/component/calendar.xml 2008-04-23 01:17:56
UTC (rev 8085)
+++ branches/3.1.x/ui/calendar/src/main/config/component/calendar.xml 2008-04-23 01:18:47
UTC (rev 8086)
@@ -559,7 +559,7 @@
<name>firstWeekDay</name>
<classname>int</classname>
<description>Gets what the first day of the week is; e.g., SUNDAY in the U.S.,
MONDAY in France.</description>
- <defaultvalue>getDefaultFirstWeekDay()</defaultvalue>
+
</property>
<property>
<name>minDaysInFirstWeek</name>
@@ -570,7 +570,7 @@
day of the first month of a year, this method returns 1. If the
minimal days required must be a full week, this method returns 7.
</description>
- <defaultvalue>getDefaultMinDaysInFirstWeek()</defaultvalue>
+
</property>
<property>
<name>showHeader</name>
Modified:
branches/3.1.x/ui/calendar/src/main/java/org/richfaces/component/UICalendar.java
===================================================================
---
branches/3.1.x/ui/calendar/src/main/java/org/richfaces/component/UICalendar.java 2008-04-23
01:17:56 UTC (rev 8085)
+++
branches/3.1.x/ui/calendar/src/main/java/org/richfaces/component/UICalendar.java 2008-04-23
01:18:47 UTC (rev 8086)
@@ -68,7 +68,7 @@
* firstWeekDay
* Gets what the first day of the week is; e.g., SUNDAY in the U.S., MONDAY in France.
*/
- private int _firstWeekDay = getDefaultFirstWeekDay();
+ private int _firstWeekDay = 0;
/**
* Flag indicated what firstWeekDay is set.
*/
@@ -81,7 +81,7 @@
day of the first month of a year, this method returns 1. If the
minimal days required must be a full week, this method returns 7.
*/
- private int _minDaysInFirstWeek = getDefaultMinDaysInFirstWeek();
+ private int _minDaysInFirstWeek = 0;
/**
* Flag indicated what minDaysInFirstWeek is set.
*/