Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

org.apache.wicket.extensions.markup.html.form.DateTextField can be used with several date-like types: date, datetime, datetime-local, month, time, week.
To be able to support this the return type of TextField#getInputType() has been changed from String to String[], and the method itself has been renamed to #getInputType*s*().

To migrate it you should do something like:

...

Code Block
titleNewMyTextField.java
borderStylesolid
...
@Override
protected String[] getInputTypegetInputTypes()
{
	return new String[] { "sometype" };
}
...

...