Author: akushunin
Date: 2007-10-11 09:15:54 -0400 (Thu, 11 Oct 2007)
New Revision: 3328
Modified:
trunk/samples/calendar-sample/src/main/java/org/richfaces/CalendarDataModelImpl.java
Log:
RF-1093
Modified:
trunk/samples/calendar-sample/src/main/java/org/richfaces/CalendarDataModelImpl.java
===================================================================
---
trunk/samples/calendar-sample/src/main/java/org/richfaces/CalendarDataModelImpl.java 2007-10-11
13:15:05 UTC (rev 3327)
+++
trunk/samples/calendar-sample/src/main/java/org/richfaces/CalendarDataModelImpl.java 2007-10-11
13:15:54 UTC (rev 3328)
@@ -69,9 +69,11 @@
item.setDay(c.get(Calendar.DAY_OF_MONTH));*/
if (new Random().nextInt(10) > 5) {
- item.setEnabled(true);
+ item.setEnabled(true);
+
} else {
item.setEnabled(false);
+ item.setStyleClass("rich-calendar-boundary-dates");
}
item.setData(data);