Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: hidden and modal dialog

Table of Contents

Changes

Component placeholders and form hidden fields

Hidden markup generated by Component placeholders and forms are no longer made hidden with style="display:none;" but with HTML5 "hidden" attribute instead:

https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/hidden

Applications must ensure that their CSS do not reveal this markup, e.g. by falsely changing the CSS display:

Code Block
languagexml
/* applied to *all* divs, including hidden */
div {
  display: flex;
}

/* fix */
*[hidden] {
  display: none;
}


IPageStore rework
Jira
serverASF JIRA
serverId5aa69414-a9e9-3523-82ec-879b028fb15b
keyWICKET-6563

...

Wicket used custom classes from package org.apache.wicket.util.time to handle and manipulate time entities such as "duration" or "current instant".
These classes have been replaced with standard Java 8 classes java.time.Duration and java.time.Instant.

Deprecate ModalWindow from wicket-extension
Jira
serverASF JIRA
columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
serverId5aa69414-a9e9-3523-82ec-879b028fb15b
keyWICKET-6666

ModalWindow was deprecated and its usage should be replaced with the new ModalDialog implementation.

Removals

Removed from wicket-core all the deprecated classes
Jira
serverASF JIRA
columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
serverId5aa69414-a9e9-3523-82ec-879b028fb15b
keyWICKET-6562

...