突出显示RichFaces日历中的当前周

有没有办法在RichFaces日历中突出显示当前或选定的周?

 

@dayClassFunction (参见文档 )

它看起来像这样:

  .highlightWeek { color: red; background-color: black; }   var currentWeekNumber = … // determine current week number chooseDay = function(day) { if (day.weekNumber == currentWeekNumber) return 'highlight'; return ''; }     
    Interesting Posts