2 Replies Latest reply on Feb 2, 2009 4:57 AM by ilya_shaikovsky

    rich calendar

    ramanujareddy

      Is there any property to set the past dates disabled in Rich Calendar.?

        • 1. Re: rich calendar
          meetoblivion

          you might be looking for isDayEnabled


          isDayEnabled false false javax.el.ValueExpression
          (must evaluate to java.lang.String) Should be binded to some JS function that returns day state.

          • 2. Re: rich calendar
            ilya_shaikovsky

            1) approach like described above - define the clien side function which should take the date as a parameter and return boolean value. used on calendar render before showing.

            2) using dataModel for calendar - you could also define disabled state there.