migration to wicket 6 for datepicker