Versions Compared

Key

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

...

org.apache.wicket.markup.html.form.TextField#getInputType() returns String array WICKET-5286

Wiki Markup
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 #getInputTypes().

To migrate it you should do something like:

...

Code Block
titleNewMyTextField.java
borderStylesolid
...
@Override
protected String[] getInputTypes()
{
	return new String[] { "sometype" };
}
...
AuthenticatedWebSession#authenticate is now protected instead of private. WICKET-5308

No change in user code is required, but the authenticate method can now be made protected to avoid confusion with the signIn method.

Behavior changes

org.apache.wicket.request.Url#getQueryString WICKET-4664

...