see DateField in extensions and in wicket-datetime modules, they take
care of this...

-igor


On Nov 26, 2007 6:16 AM, Gervais <[EMAIL PROTECTED]> wrote:
> 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 ?
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to