Author: akushunin
Date: 2007-07-18 04:53:52 -0400 (Wed, 18 Jul 2007)
New Revision: 1666
Modified:
branches/3.0.2/sandbox/calendar/src/main/java/org/richfaces/component/UICalendar.java
Log:
Modified:
branches/3.0.2/sandbox/calendar/src/main/java/org/richfaces/component/UICalendar.java
===================================================================
---
branches/3.0.2/sandbox/calendar/src/main/java/org/richfaces/component/UICalendar.java 2007-07-17
18:12:51 UTC (rev 1665)
+++
branches/3.0.2/sandbox/calendar/src/main/java/org/richfaces/component/UICalendar.java 2007-07-18
08:53:52 UTC (rev 1666)
@@ -119,8 +119,8 @@
ValueBinding vb = getValueBinding("currentDate");
if (vb != null) {
vb.setValue(context, getLocalCurrentDate());
- setValue(null);
- setLocalValueSet(false);
+ //setValue(null);
+ //setLocalValueSet(false);
return;
}
}
@@ -151,6 +151,8 @@
currentDate = (Date) restoreAttachedState(context, values[1]);
}
+
+
// --------------------------------------------------------
private int getLastDayOfWeek(Calendar calendar) {