3 Replies Latest reply on Dec 13, 2008 5:39 AM by Adrien Adrien

    Jsunit Beta 3 : how to test rich:calendar

    Adrien Adrien Apprentice

      Here a sample to test : calendar with jsfunit

      To have to add to the component id "InputDate"

      client.setValue("cptbirthdayidInputDate", ""25/11/1968"");


      <rich:calendar value="#{ctrlUpdateAdvBean.birthday}" locale="#{calendarBean.locale}" popup="#{calendarBean.popup}" datePattern="#{calendarBean.pattern}" enableManualInput="true" required="true" id="cptbirthdayid" converterMessage="#{ErrMsg.e_birthday}">
       <f:validator validatorId="calMajorValidator"/>
      </rich:calendar>