Breaking: #78477 - FlashMessageViewHelper no longer inherits from TagBasedViewHelper¶
See Issue #78477
Description¶
The FlashMessageViewHelper has been refactored and no longer inherits from the TagBasedViewHelper.
Impact¶
The FlashMessageViewHelper outputs default context specific markup. Adding own classes or tag attributes is no longer possible.
Affected Installations¶
All installations using the FlashMessageViewHelper with tag specific attributes.
Migration¶
Remove the tag specific attributes and style the default output. If you need custom output use the possibility to render FlashMessages yourself, for example:
<f:flashMessages as="flashMessages">
<dl class="messages">
<f:for each="{flashMessages}" as="flashMessage">
<dt>CODE!! {flashMessage.code}</dt>
<dd>MESSAGE:: {flashMessage.message}</dd>
</f:for>
</dl>
</f:flashMessages>