pragmus
pragmus

Reputation: 4043

Send parameter from view to controller via link in Grails

For example, I've this string in GSP:

<td>${cafeeInfo.cafeeName}</td>

How can I send value to the controller via parameter? I know how to do it with form, but to my mind in this case better method is possible.

Upvotes: 0

Views: 2688

Answers (1)

Gregg
Gregg

Reputation: 35864

<g:link action="???" controller="???" params="[param1: value1]">Whatever</g:link>

Here is some Documentation

Upvotes: 1

Related Questions