two domain objects view


can twin domain objects arrangement same page, list slight called, example?








def list = {
if(!params.max) params.max = 10
[ foolist: foo.list( params ) ]
[ barlist: bar.list( params ) ] // wholly final returned.

}





on perspective page, both tables displayed page.




<g:each in="${foolist}" status="i" var="foo"> ... </g:each>
<g:each in="${barlist}" status="i" var="bar"> </g:each>


Comments

Popular posts from this blog

list macos calm editors formula editors

how hibernate @any-related annotations?

why does floated <input> control floated component slip over too distant right ie7, nonetheless firefox?