Grails Cookbook - A collection of tutorials and examples

Grails actionSubmit Tag Example

The actionSubmit tag (<g:actionSubmit>) lets you have multiple action targets on the same form. For example, if you have a calculation form and you want to have a different controller action handling each submit button:
fx01
Such that clicking Sum will give you the answer:
fx02
Clicking Difference will give you the answer:
fx03
Clicking Product will give you the answer:
fx04
Clicking Quotient will give you the answer:
fx05