How do you nest g:each tags in gsp?

Posted by Neoryder on Stack Overflow See other posts from Stack Overflow or by Neoryder
Published on 2010-03-18T20:12:30Z Indexed on 2010/03/18 20:31 UTC
Read the original article Hit count: 379

Filed under:
|
|

Assume I have the following classes

class Genre {
    static hasMany=[author:Author]
}

class Author{

    static hasMany=[books:Books]
}


class Books{
       Author author 
}

How do I go about printing this in the gsp using g:each tag?

© Stack Overflow or respective owner

Related posts about groovygrails

Related posts about grails