1 Reply Latest reply on Aug 9, 2011 12:18 AM by anthonycrane

    rich:calendar preloadDateRangeBegin

    agori

      Can you explain the meaning of this attribute in client mode?

      If I a set preloadDateRangeBegin and preloadDateRangeEnd should be cell out of this range unselectable?

      Otherwise, how to get this behavior with the rich:calendar component?

        • 1. Re: rich:calendar preloadDateRangeBegin
          anthonycrane

          I am using RichFaces 3.3.1 with JSF 1.2. I tried using preloadDateRangeXXX but i could not make it work. Please help and show some code snippet that will explain how to implement the same.

           

          I am getting the value from a backing bean as the begin and end values that i am trying to put in teh attributes preloadDateRangeBegin and preloadDateRangeEnd but it is not graying out anything outside the range.

           

          I tried using javascript to implement the date range but i am having issues when i try to comapre the dates from the baching bean with todays date and the date from richfaces calendar

           

          Please show some code example alongwith the backing bean. The value from the backing bean is in java.util.Date.

           

          Thanks