This content has been marked as final.
Show 3 replies
-
1. Re: Calendar client side styling doesnt work
sen.cool May 21, 2009 11:19 AM (in response to sen.cool)"sen_cool" wrote:
I am using the code given in JSP page for calendar styling.
But the calendar doesnt work. There is no pop up when i press the calendar button.
day.date is undefined. What type of object is day ?
This is the code in site
var curDt = new Date();
function disablementFunction(day){
if (day.isWeekend) return false;
if (curDt==undefined){
curDt = day.date.getDate;
}
if (curDt.getTime() - day.date.getTime() < 0) return true; else return false;
}
function disabledClassesProv(day){
if (curDt.getTime() - day.date.getTime() >= 0) return 'rich-calendar-boundary-dates';
var res = '';
if (day.isWeekend) res+='weekendBold ';
if (day.day%3==0) res+='everyThirdDay';
return res;
} -
2. Re: Calendar client side styling doesnt work
nbelaevski May 21, 2009 2:21 PM (in response to sen.cool)Hi,
Code snippet doesn't give enough information to answer the question. Post how do you call these functions. -
3. Re: Calendar client side styling doesnt work
ilya_shaikovsky May 22, 2009 5:38 AM (in response to sen.cool)Also which RF version used.