Grails Cookbook - A collection of tutorials and examples

Grails actionSubmitImage Tag Example

The actionSubmitImage tag (<g:actionSubmitImage>) is similar to actionSubmit. It lets you have multiple action targets on the same form. The only difference is that this tag renders the button from source image. For example:
fx01
As shown, the submit buttons are images instead of plain text. Similar to actionSubmit, it can have multiple target controller action.
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