I need to disable certain dates in rich:calendar.
I first tried using isDayEnabled, but the problem is that, by change the system date on the local machine, the user could bypass my validations.
So I changed to using an implementation of CalendarDataModel.
Using this approach, how do I set the currentDate in ajax mode? If I don't set it, I can disable appropriate cells, but clicking on the Today link, selects the local currentDate and not the server currentDate as I intended. In ajax mode, shouldn't the JS API pick up values from the dataModel??
Is this a bug? Or have I not figured out how to work this yet??
In any case, please help!