datepicker « wicket « Java Enterprise Q&A

1. Localizing labels in org.apache.wicket.extensions.yui.calendar.DatePicker

Does anyone know how to localize the "Month", "Year", "Okay" and "Cancel" labels of the org.apache.wicket.extensions.yui.calendar.DatePicker? According to the API you can override the the localize(Map) method to set up localized Strings, ...

2. Various Date-picker for Wicket

So far I found two date-picker in wicket:

  1. org.apache.wicket.extensions.yui.calendar.DatePicker
  2. org.wicketstuff.dojo.markup.html.form.DojoDatePicker
The navigation for year is not present in the wicket-extensions' date-picker, also so far I found 1.3.0-beta version of wicket-stuff's ...

3. Open datepicker on datetextfield click

Is it possible to open/ popup wicket datepicker by datetextfield onclick? Or is there any other way to do that. I am using wicket 1.3.6.

4. How can I hide a DatePicker icon when its DateTextField is hidden?

I'm using a DatePicker (org.apache.wicket.extensions.yui.calendar.DatePickerJavadoc) in a form. The form consists of two fields. The first field is a dropdown, and the second changes dynamically based on ...

5. How to hide / show yui.calendar.DatePicker in wicket

I've run in to a problem I hope you guys can help me with. I'm using a DateTextField with a DatePicker (from yui.calendar), they are both added to a WebMarkupContainer with OutputMarkupId ...

6. Wiquery DatePicker displays time, validation fails

I'm having problems with the Wiquery DatePicker in the following code in a Wicket page (using a CompundPropertyModel, the date property is of type java.util.Date):

DatePicker<Date> datePicker = new DatePicker<Date>("date"){