2 Replies Latest reply on Sep 1, 2009 4:14 AM by k_krish_rao

    hide boundry dates in rich:calendar

    k_krish_rao

      Is it possible to hide boundry dates in a rich:calendar.

      I do not want dates for previous and next month to be displayed

        • 1. Re: hide boundry dates in rich:calendar
          ilya_shaikovsky

          check tldDoc ;) there is an attribute - boundaryDatesMode..

          • 2. Re: hide boundry dates in rich:calendar
            k_krish_rao

            I tried this attribute
            when i set the value to inactive (default) the boundry dates are disabled.

            when set to "scroll" these dates are enabled but when selected it scrolls to the corresponding month.

            I do not want them to be disbaled.
            The reason I want this.
            I want weekends to be thursday and friday not saturday and sunday which is the default.
            Hence I used a calendar datamodel to disbale those dates which are thursday and friday and show them in a different background and text with black. The rest of the days are enabled and shown in a white background and text with black.

            But the problem is the days which fall on sat and sun are still shown in a white background with text in a different color. The and the boundry dates are shown in a default background color for weekends