I have a / gsp page that displays 3 different classes.
This means that I need to add additional parameters to the pagination links.
currently the link created by default in the pagination tag in grails creates the following links:
http: // localhost: 8080 / Teams / Leader / assignFollower? offset = 400 & max = 100
I would like it to be like this:
http: // localhost: 8080 / Teams / Leader / assignFollower? LeaderId = 1 & TeamId = 2 & offset = 400 & max = 100
Any ideas how I can implement this?
The paginate tag takes params. So something like:
<g:paginate total="${Leader.count()}" params="${[LeaderId:1, TeamId: 2]}" />
gotta do the trick.
. : http://www.grails.org/GSP+Tag+-+paginate
!