lundi 25 décembre 2017

Grails 3 - f:table - how to display property of related class

There is 2 simple classes:

class Entity{
Integer id
Status status
String type
}

class Status{
Integer id
String name
}

I just need to replace representation of "status" field in Entity list and edit - instead of my.appStage : 1 -> "normal" How to do it?




Aucun commentaire:

Enregistrer un commentaire