You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Luca Provenzani <eu...@gmail.com> on 2009/01/28 13:32:44 UTC
Change Year in DatePicker
Hi All,
i use org.apache.wicket.extensions.yui.calendar.DateField as DatePicker.
with wicket 1.3.0
But when i open datePicker on my webpage i can't change year, i can only
change the months.
Does someone know how to configure DateField to do this? is it possible?
Thank
Luca
Re: Change Year in DatePicker
Posted by Luca Provenzani <eu...@gmail.com>.
Thank you for answer, but i can't do it in wicket 1.3.0.
i think that the unique way is try to update the application to wicket 1.3.5
Luca
2009/1/28 Daniel Peters <da...@idealo.de>
> Luca Provenzani wrote:
>
> > i use org.apache.wicket.extensions.yui.calendar.DateField as DatePicker.
> > with wicket 1.3.0
> > But when i open datePicker on my webpage i can't change year, i can only
> > change the months.
> > Does someone know how to configure DateField to do this? is it possible?
> extend DatePicker and override one method:
>
> protected boolean enableMonthYearSelection() {
> return true;
> }
>
> (not sure about version 1.3.0, but it worked in 1.3.5 and 1.4)
> -Daniel
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
Re: Change Year in DatePicker
Posted by Daniel Peters <da...@idealo.de>.
Luca Provenzani wrote:
> i use org.apache.wicket.extensions.yui.calendar.DateField as DatePicker.
> with wicket 1.3.0
> But when i open datePicker on my webpage i can't change year, i can only
> change the months.
> Does someone know how to configure DateField to do this? is it possible?
extend DatePicker and override one method:
protected boolean enableMonthYearSelection() {
return true;
}
(not sure about version 1.3.0, but it worked in 1.3.5 and 1.4)
-Daniel
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org