9 Replies Latest reply on Feb 16, 2011 11:05 AM by Vishwanath Bannur

    calendar datamodel issue

    Rainer Spruenken Newbie

      Hi,

      i am using rich:calendar to display dates from a database table. I use calendarDataModel to provide some selectable dates, all other dates are inactive. This works fine for me, but the first time calendar is rendered datamodel doesnt seem to be considered. All Dates of the current month are inactive. As I select an other month and go back to the current month, dates are displayed correctly. Any Ideas?

      Thanks Rainer

      <rich:calendar id="dateSelection" value="#{params.reportDate}"
      mode="ajax" popup="true" locale="DE"
      datePattern="dd.MM.yyyy"
      dataModel="#{params.dataModel}"
      required="true" />