Description

This tag creates an HTML link to a controller action that generates an AJAX request when it is clicked. The exact Javascript used to fire off the AJAX request depends on which Javascript library is used. This tag also requires the use of either the <g:javascript/> or <g:setProvider/> tags. See the AJAX section of the user guide to find out more.

Attributes

action (optional) - the name of the action to use in the link; if not specified the default action will be linked

controller (optional) - the name of the controller to use in the link; if not specified the current controller will be linked

id (optional) - The id to use in the link

fragment (optional) - The link fragment (often called anchor tag) to use

Copies of this document may be made for your own use and for distribution to others, provided that you do not charge any fee for such copies and further provided that each copy contains this Copyright Notice, whether distributed in print or electronically.
Sponsored by SpringSource