<g:submitButton name="update" value="Update" />
submitButton
Purpose
Creates a submit button using the indicated value as the caption. JavaScript event handlers can be added using the same parameter names as in HTML.
Examples
Description
Attributes
-
name
(required) - The name of the button -
value
(required) - The title of the button and name of action when not explicitly defined.