4 Replies Latest reply on Aug 28, 2009 6:46 AM by Krishnakanth Rao

    change weekends in rich:calendar

    Krishnakanth Rao Newbie

      In the rich:calendar irrespective of the timezone that is set, saturday and sunday are shown as weekends.

      If I customize the calendar to use the weekday facet and display the isWeekend element as follows

      <f:facet name="weekDay">
       <h:panelGroup style="width:60px; overflow:hidden;" layout="block">
       <h:outputText value="{weekDayLabelShort}"/>
       <h:outputText value="{isWeekend}"/>
       </h:panelGroup>
      </f:facet>

      then in the weekdays bar Sat and Sun is followed by the tetx true.

      How can we change the weekends to different days for eg thursday and friday