This content has been marked as final. 
    
Show                 3 replies
    
- 
        1. Re: rich:calendar validateilya_shaikovsky May 13, 2008 5:21 AM (in response to jermaioncer)you may use oncurrentdayselect client side event. This event cancelable. 
 Just get current date in the handler from calendar usingevent.rich.date 
 variable. And check if this new date is in range. If not - just return false and calendar will not be switched.
- 
        2. Re: rich:calendar validatelucab May 13, 2008 7:17 AM (in response to jermaioncer)i tryed to use oncurrentdateselect and oncurrentdateselected, None of them worked form me. 
 oncurrentdateselect(ed)=my_func(evet) does not work form me, How am i supposed to use that??
- 
        3. Re: rich:calendar validateilya_shaikovsky May 13, 2008 9:24 AM (in response to jermaioncer)look I've written just oncurrentdateselect="if (event.rich.date.getFullYear() > '2009'){return false;}"
 in this case - calendar do not allows to change the year to more than 2009
 
     
    