How do you nest g:each tags in gsp?
- by Neoryder
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?