Hi All

In my form i have added a required text filed for hold a date. My model object have a setter..

------
   add(new RequiredTextField("dateOfBirth", java.util.Date.class));
------
   public void setDateOfBirth(Date date) {
      this.date = date;
   }
   public Date getDateOfBirth() {
     return date;
   }
------
But i'm french and users enter date as YYYY/mm/dd or YYY-mm-dd how can i tel to wicket how to put the date to my Object ?

Reply via email to