3 Replies Latest reply on Jun 12, 2008 9:51 AM by Luca Borzani

    I want calendar 1 to update calendar 2

    Emil Nilimaa Newbie

      Ok, if i have two rich:calendar objects. and i want the first calendar to update the second one, and reRender it, how do i perform this?

      I tried:

      <a4j:support
      immediate="true"
      event="ondateselected"
      actionListener="#{CalendarBean.changeDate}"
      reRender="calendartwo"/>
      


      It doesnt work, if i remove the "immediate" flag alltogether, the date will change on calendar 2 after the SECOND time i change the date on calendar1.

      How can i get it so calendar2 always get the same date as calendar1 when it is changed?