Re: wicket- jqueryui Kendo DateTimePicker timePattern

2013-10-18 Thread Selom
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:

Re: wicket- jqueryui Kendo DateTimePicker timePattern

2013-10-18 Thread Sebastien
Hi, You can override DateTimePicker#newTimePicker Best regards, Sebastien. On Fri, Oct 18, 2013 at 9:53 AM, Selom pierre.kou...@uhb.fr 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

Re: wicket- jqueryui Kendo DateTimePicker timePattern [RESOLVED]

2013-10-18 Thread Selom
Hello Sebastien, I did it like this. final DateTimePicker startDateTimePicker = new DateTimePicker(start,dd/MM/,HH:mm){ @Override protected TimePicker newTimePicker(String id, IModelDate model, String timePattern)

Re: wicket- jqueryui Kendo DateTimePicker timePattern

2013-10-17 Thread Sebastien
Hi, According to the Kendo UI's doc [1], you need to set the following options: Options options = new Options(); options.set(interval, 45); options.set(min, new Date(2000, 0, 1, 9, 0, 0)); //9:00:00, the date part is ignored final TimePicker timepicker = new TimePicker(timepicker, model,