Groups
Groups
Sign in
Groups
Groups
jqwicket-user
Conversations
About
Send feedback
Help
date time picker to show seconds in the text field
83 views
Skip to first unread message
oggie
unread,
Apr 4, 2012, 2:30:02 PM
4/4/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jqwicket-user
How do I get the date time picker to show the seconds in the text box?
I have the seconds showing in the jqeury ui, but not the text box:
DateTimePickerOptions timePickerOptions = new DateTimePickerOptions();
timePickerOptions.hourGrid(3);
timePickerOptions.minuteGrid(10);
timePickerOptions.secondGrid(10);
timePickerOptions.showSecond(true);
TimePickerTextField startTimeField = new
TimePickerTextField<Date>("timeOfDayStart",
timePickerOptions);
form.add(startTimeField);
<input type="text" id="timeOfDayStart" wicket:id="timeOfDayStart"/>
Thanks
oggie
unread,
Apr 4, 2012, 2:42:19 PM
4/4/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jqwick...@googlegroups.com
I figured it out when I was checking out the timepicker jquery tool options:
timePickerOptions.timeFormat("hh:mm:ss");
Reply all
Reply to author
Forward
0 new messages