This content has been marked as final.
Show 3 replies
-
1. Re: rich calendar ommiting the possible period
ilya_shaikovsky Sep 25, 2008 5:52 AM (in response to simoncigoj)yes this is possible with simlpe JS handler. Just define isDayEnabled attribute with your JS function which will takes the date and return true or false which means if the date enabled.
-
2. Re: rich calendar ommiting the possible period
simoncigoj Sep 25, 2008 5:58 AM (in response to simoncigoj)but what if I nead to set the range of period in dynamic way? For example for each user of the sistem diferently.
isDayEnabled takes only the function name I cann not call for exmaple :
isDayEnabled=#{isEnabled('1.1.2008', '30.3.2008')}
Or am I wrong? -
3. Re: rich calendar ommiting the possible period
ilya_shaikovsky Sep 25, 2008 6:07 AM (in response to simoncigoj)but you could call
isDayEnabled=isEnabled(#{someProp}, #{someProp2});
;)