Dear Forum, I am trying to have an input field in which user inserts a time of the day in HH:mm format. In some cases, the field could be already populated.
I thought of extending TextField<LocalTime> and pass a LocalTime object to the form field. The problem is that when if the local time variable already has a value, the LocalTime field will be populated in HH:mm:ss.SSS format. How can I properly extend TextField so that when populating the field it will do it in *HH:mm* format, please? I would be grateful if someone could point me in the right direction? I am trying to extend text field but I don't know which function I should override. My simple example is as follow: HomePage class: HomePage HTML: And the maven import for joda time: Thanks in advance, Lucas -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Extending-TextField-to-display-Joda-s-LocalTime-in-HH-mm-format-tp4663112.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