renderErrors

Purpose

Allows rendering of errors in different formats (at the moment only an HTML list is implemented )

Examples

Render a list for the "book" bean:

<g:renderErrors bean="${book}" as="list" />

Render a list for the title field of the "book" bean:

<g:renderErrors bean="${book}" as="list" field="title"/>

Description

Attributes

Source

Show Source