ViewHelper Documentation
flashMessages
View helper which renders the flash messages (if there are any) as an unsorted list.
In case you need custom Flash Message HTML output, please write your own ViewHelper for the moment.
= Examples =
<f:flashMessages />
<f:flashMessages class="specialClass" />
<f:flashMessages />
<f:flashMessages as="flashMessages">
<dl class="messages">
<f:for each="{flashMessages}" as="flashMessage">
<dt>{flashMessage.code}</dt>
<dd>{flashMessage.message}</dd>
</f:for>
</dl>
</f:flashMessages>
<dt>1013</dt>
<dd>Some Warning Message.</dd>
<f:flashMessages queueIdentifier="myQueue" />
Arguments
- additionalAttributes
- data
- renderMode
- as
- class
- dir
- id
- lang
- style
- title
- accesskey
- tabindex
- onclick
- queueIdentifier
additionalAttributes anySimpleType
Additional tag attributes. They will be added directly to the resulting HTML tag.
data anySimpleType
Additional data-* attributes. They will each be added with a "data-" prefix.
renderMode string
@deprecated since TYPO3 CMS 7.3. If you need custom output, use <f:flashMessages as="messages"><f:for each="messages" as="message">...</f:for></f:flashMessages>
as string
The name of the current flashMessage variable for rendering inside
class string
CSS class(es) for this element
dir string
Text direction for this HTML element. Allowed strings: "ltr" (left to right), "rtl" (right to left)
id string
Unique (in this file) identifier for this HTML element.
lang string
Language for this element. Use short names specified in RFC 1766
style string
Individual CSS styles for this element
title string
Tooltip text of element
accesskey string
Keyboard shortcut to access this element
tabindex integer
Specifies the tab order of this element
onclick string
JavaScript evaluated for the onclick event
queueIdentifier string
Flash-message queue to use