ViewHelper Documentation


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 /> A list of flash messages.

<f:flashMessages />

 <div class="media">
     <div class="media-left">
         <span class="fa-stack fa-lg">
             <i class="fa fa-circle fa-stack-2x"></i>
             <i class="fa fa-info fa-stack-1x"></i>
     <div class="media-body">
         <h4 class="alert-title">Info - Title for Info message</h4>
         <p class="alert-message">Message text here.</p>

<f:flashMessages as="flashMessages">

<dl class="messages">
<f:for each="{flashMessages}" as="flashMessage">


<dd>Some Warning Message.</dd>

<f:flashMessages queueIdentifier="myQueue" />


queueIdentifier string, required

Flash-message queue to use

as string, required

The name of the current flashMessage variable for rendering inside

ViewHelper Resources

Schema Resources