Hi all,
I have multiple related domain :
class Country {
String countryname
static hasMany = [provinces:Province]
}
class Province {
static belongsTo = [country:Country]
String provincename
static hasMany = [cities:City]
}
class City {
static belongsTo = [province:Province]
String citiname
}
I have been generate-all for all those domain, but show view not exactly what I want.
I'm just want to view list inside list like this:
Country: 1. Indonesia
Province: 1. DKI Jakarta
City: 1. Jakarta Selatan
2. Jakarta Pusat
3. Jakarta Barat
2. Jawa Barat
City: 1. Bandung
2. Bogor
3. Cirebon
4. Tasikmalaya
How to modified generated view?
Thanks,
Didin