0 Replies Latest reply on Sep 3, 2010 4:00 AM by gokceng

    rich:calendar event listener problem

    gokceng Newbie

      my code is here:

       

      <rich:calendar popup="false" firstWeekDay="1" showWeeksBar="false"
       currentDateChangeListener="#{takvimController.showCalendar}"
       valueChangeListener="#{takvimController.showCalendar2}" locale="tr"
       showFooter="false">
       </rich:calendar>
      

       

      and

       

      public String showCalendar(CurrentDateChangeEvent currentDateChangeEvent)
       {
       return "/Calendar.xhtml";
       }
       
       public String showCalendar2(ValueChangeEvent valueChangeEvent)
       {
       return "/Calendar.xhtml";
       }
      

       

      The problem is none of the two functions are called, and I couldn't find any example for that. Any help will be appreciated..