title: Grails <g:paginate> for map in action (index) ,without Domain class
body: <p>I'm having a problem in <code>&lt;g:pagination&gt;</code>. I didn't use domain classes, I just used a one action (index) which contains map named <code>${finalmap}</code>. I send it to gsp. <code>&lt;g:each&gt;</code> works with it. But <code>&lt;g:pagination&gt;</code> doesn't work for me. I send <code>[params:params,finalmap:finalmap]</code> for offset and max variable. </p>