Nitrogen provides you with a variety of ways to notify a user of information.
A flash message is an HTML box that slides into the page at a
point specified by the #flash{}
element. The flash
message can be a simple text-message, or can contain other controls.
To display a flash message, call wf:flash(TextOrElements)
.
Flash messages are stored in session until they are displayed. This allows your application to set a flash message on one page in response to user action and then redirect the user to another page, at which the message is displayed.
The #alert {}
action displays a simple
Javascript alert to the user.
The #confirm {}
action displays a Javascript
confirm box to the user, and posts back if the 'OK' button is
clicked.