Release Notes

Version 2.2.0

This is just an intermediate release and will not receive any patch updates. Please use version 2.3 instead.

New features and improvements

@BindAutoFocus

A new annotation, @BindAutoFocus, has been added for setting the autofocus attribute on a UI element.

Please note that this annotation should not be used on more than one UI element per page/dialog, and that the target element has to be visible and editable.

For more information, see "@BindAutoFocus".

@BindVariantNames

A new annotation, @BindVariantNames, has been added for adding Vaadin variants to UI elements or PMO classes.

Bugfixes

  • Fix @UIRadioButtons not showing null when using AvailableValuesType.ENUM_VALUES_INCL_NULL.

  • Fix warning and info notifications not being closeable when the respective duration is set to 0 or below. The notifications will now have a close button, like error notifications. (since 2.1.3)

  • Fields for which Vaadin does not support validation (components not implementing HasValidation, e.g. buttons) now have the HTML attributes invalid and severity set by linkki to allow custom styling via CSS. The message text is not displayed. (since 2.1.3)

  • Fix icon size for LinkkiText and LinkkiAnchor (since 2.1.2)

  • IpsPropertyDispatcher now handles empty value sets correctly (since 2.1.1)

  • Fix disabled state of checkboxes (since 2.1.1)

  • LinkkiTabLayout no longer initializes content of tabs when removing them (since 2.1.1)

  • BindingContext#modelChanged was called when creating a table. This accidentally triggered a modelChangeHandler when setting up the UI. (since 2.1.1)

  • Fix @UILink and @UILabel with icons in combination with custom style names added by @BindStyleNames. Style class linkki-has-icon is not used anymore and will be removed in later version. (since 2.1.1)