In my domain class, I have one enumeration: -
class Product{
Type type
enum Type{
MEDICINE, NON_MEDICINE
}
}
When creating a default view, it appears as a drop-down list on the create.gsp page. My requirement is to show it as a radio group in page creation, from where I can select either of the two values by clicking on the switch. can anyone help. thnks
source
share