This content has been marked as final.
Show 2 replies
-
1. Re: rich:calendar don't allow future date
kash_meu Aug 22, 2008 1:43 AM (in response to arissonleal)You can use validator, and I the validator you can throw validator exception on the undesired condition.
-
2. Re: rich:calendar don't allow future date
shimonl97 Aug 22, 2008 5:57 AM (in response to arissonleal)You can use the calendarDataModel to define isEnable for specific dates.
You need to extent thecalendat data model and the class for days and override isEnable method with your logic.
I think it is better then validator because it is better not to put hand into the fire then to put ice on hurted hand ;-)