Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: AbstractLink WICKET-4904

...

PackageTextTemplate will load its content at first usage of PackageTextTemplate#toString() or PackageTextTemplate#interpolate(Map) methods.
If its style/locale/variation/encoding are changed then it will reload its content.

AbstractLink

...

no longer alters its markup to render itself as disabled WICKET-4904

org.apache.wicket.markup.html.link.AbstractLink#getDisablingBehavior() is introduced. This method can return a non-null Behavior that can render markup for the Link in disabled mode.

By default The href and disabled attributes are still added/removed by AbstractLink as required. But no further mangling of markup is performed. org.apache.wicket.markup.html.link.DisableLinkBehavior is used. It uses AbstractLink#getBeforeDisabledLink and AbstractLink#getAfterDisabledLink to prepend/append additional markup and changes the <a> to <span>DisabledLinkBehavior can be used to restore the pre-Wicket-7.x representation of disabled links with <em><span></span></em> (note that <em> and <span> swap their position though).

Deprecated classes/methods/fields are removed WICKET-5201

...