Hello Sebastien, I did it like this.
final DateTimePicker startDateTimePicker = new DateTimePicker("start","dd/MM/yyyy","HH:mm"){ @Override protected TimePicker newTimePicker(String id, IModel<Date> model, String timePattern) { Options options = new Options(); options.set("interval",45); options.set("min", "new Date(2000, 0, 1, 9, 0, 0)"); options.set("max", "new Date(2020, 0, 1, 12, 0, 0)"); return new TimePicker(id, model, timePattern, options); //return new TimePicker(id, model, timePattern); } }; And I enjoyed. Thank you for you help. Sebastien wrote > Hi, > > You can override DateTimePicker#newTimePicker > > Best regards, > Sebastien. > > > On Fri, Oct 18, 2013 at 9:53 AM, Selom < > pierre.kouvel@ > > wrote: > >> Hi, >> Sorry I did not explain very well my problem. >> I am using the DateTimePicker (because i need the date ) class and there >> no >> constructor with such options ? >> >> Thanks. >> >> >> >> >> >> -- >> View this message in context: >> http://apache-wicket.1842946.n4.nabble.com/wicket-jqueryui-Kendo-DateTimePicker-timePattern-tp4661862p4661867.html >> Sent from the Users forum mailing list archive at Nabble.com. >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: > users-unsubscribe@.apache >> For additional commands, e-mail: > users-help@.apache >> >> -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-jqueryui-Kendo-DateTimePicker-timePattern-tp4661862p4661870.html Sent from the Users forum mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org