.. highlight:: html
===============
f:flashMessages
===============
This viewhelper is for use in extensions you program yourself, as it is
intended to output error messages which are shown to the website user. For
example, a user has forgotten to fill out a required field and the relevant
Action method is connected to a server-side validator. The input is passed to
an errorAction method, which collates each error messages as a 'Flash Message'
in turn, then outputs them all as a “bundle” at the place where you have
inserted this viewhelper.
Usage
=====
Minimal usage:
::
All parameters:
::
Parameters
==========
All the :ref:`universal tag attributes `
plus
.. rst-class:: dl-parameters
queueIdentifier
:sep:`|` :aspect:`Condition:` optional
:sep:`|` :aspect:`Type:` string
:sep:`|` :aspect:`Default:` null
:sep:`|`
Flash-message queue to use.
as
:sep:`|` :aspect:`Condition:` optional
:sep:`|` :aspect:`Type:` string
:sep:`|` :aspect:`Default:` null
:sep:`|`
The name of the current flashMessage variable for rendering inside.
Examples
========
Example: Standard Usage
-----------------------
::
Example: Self Rendered Template
-------------------------------
::