5 Replies Latest reply on Aug 6, 2008 2:36 PM by Phil Wilson

    rich:calendar

    Phil Wilson Apprentice

      Hey Guys,

      I am using rich:calendar and need to set the default year.

      How do I set that year?

      <rich:calendar value="#{TestFormBean.memberDOB_Date}"
       id="memberDOB"
       required="true"
       locale="#{calendarBean.locale}"
       popup="#{calendarBean.popup}"
       datePattern="#{calendarBean.pattern}"
       showApplyButton="#{calendarBean.showApply}"/>
      



      This is the bean..
      
       private Date memberDOB_Date ;
      
       public Date getMemberDOB_Date() {
       return memberDOB_Date;
       }
       public void setMemberDOB_Date(Date memberDOB_Date) {
       this.memberDOB_Date = memberDOB_Date;
       }