Home Grails form g:textField parameters to Controller
 I'm quite new to Grails and I've modified some previously existing button functionality so that it now should send 2 parameters to the controller. By the help of this tutorial I've written: gsp:   MyController: // Though it is not mentioned in the tutorial, I've added 2 class properties. // Otherwise I'd get a groovy.lang.MissingPropertyException def parameter1 def parameter2 def myAction = { doSomething(parameter1, parameter2) } // previously : // def myAction = { // doSomething() // }  The two parameters are 'null' when the method is invoked. What can I do to make the parameters being handled to the controller method? File names, imports and things alike should not be the problem here as the call of the function does well without parameters. The modal is new to the code as it is used to get the values of parameter1 and parameter2. The modal itself works well, as long as the parameters are not in the signature of the controller's method. I've tried "grails clean" according to this answer. Grails version 2.5.4