The good part:
=================
 DateTextField dateTextField = new DateTextField("dateTextField", new
PropertyModel<Date>(
            this, "date"), new StyleDateConverter("S-", true))
=================

You'll need wicket-stuff

On Fri, Jan 29, 2010 at 1:43 AM, Martin Grigorov <mcgreg...@e-card.bg>wrote:

> see http://wicketstuff.org/wicket14/dates/
> There is a link in the upper right corner "Source code"
>
> On Fri, 2010-01-29 at 11:29 +0300, Josh Kamau wrote:
> > Hi ;
> >
> >  I have a text field that has a model of type java.util.Date. How do i
> set
> > the format of how the components displays the date?
> >
> > I am using it with the datePicker .
> >
> > DatePicker datePicker = new DatePicker();
> >   txtStartDate.add(datePicker());
> >
> >
> >
> > Regards.
> >
> >
> > ---------- Forwarded message ----------
> > From: Josh Kamau <joshnet2...@gmail.com>
> > Date: Fri, Jan 29, 2010 at 11:13 AM
> > Subject: Date Format on text field
> > To: users@wicket.apache.org
> >
> >
> > Hi ;
> >
> >  I have a text field that has a model of type java.util.Date. How do i
> set
> > the format of how the components displays the date?
> >
> > Regards.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

Reply via email to