Grails can be very frustrating and deceptive. It is still evolving and there is a long way to go. Here is another issue which wasted my time.
I was trying out ajax with dojo. The example says:-
to install plugin:- grails install-plugin dojo
Header of gsp:
Ajax link :
<g:remoteLink action="delete" id="1" >Delete Book
One thing to remember here is id is the parameter you want to pass. You cannot change it to say order=”ABCD”. I have to pass it as id and retrieve it in the action as params.id. Gosh! I wonder if some wise guy can rename id to params