ViewHelper Documentation
flashMessages
View helper which renders the flash messages (if there are any) as an unsorted list.
= Examples =
<f:flashMessages />
Depending on the FlashMessages
<f:flashMessages class="specialClass" />
<f:flashMessages severity="Warning" as="flashMessages">
<dl class="messages">
<f:for each="{flashMessages}" as="flashMessage">
<dt>{flashMessage.code}</dt>
<dd>{flashMessage}</dd>
</f:for>
</dl>
</f:flashMessages>
<dt>1013</dt>
<dd>Some Warning Message.</dd>
Arguments
additionalAttributes anySimpleType, required
Additional tag attributes. They will be added directly to the resulting HTML tag.
data anySimpleType, required
Additional data-* attributes. They will each be added with a "data-" prefix.
class string, required
CSS class(es) for this element
dir string, required
Text direction for this HTML element. Allowed strings: "ltr" (left to right), "rtl" (right to left)
id string, required
Unique (in this file) identifier for this HTML element.
lang string, required
Language for this element. Use short names specified in RFC 1766
style string, required
Individual CSS styles for this element
title string, required
Tooltip text of element
accesskey string, required
Keyboard shortcut to access this element
tabindex integer, required
Specifies the tab order of this element
onclick string, required
JavaScript evaluated for the onclick event
as string, required
The name of the current flashMessage variable for rendering inside
severity string, required
severity of the messages (One of the \Neos\Error\Messages\Message::SEVERITY_* constants)