I have a list view, and for each row I want a link to another list showing related results. The createlink line that I was finally able to build looks like this:
<a href="${createLink(controller : 'RunResults', action:'ListSpecific', params:'[id:testExecQueueInstance.id]')}">my link</a>
This creates a link.
http:
I know that testExecQueueInstance.id is 22, and I want the link to really look like
http:
What am I missing?
The idea is that I then have a controller that should then list those elements that match this id ...
def ListSpecific(int id){ render(view: "list", model: [runResultsInstanceList: RunResults.findAllByTestExeQueueID(id, [sort:"testExecTime", order: "desc"]), runResultsInstanceTotal: RunResults.count()]) }
source share