Grails scaffolding, One-To-Many field, set to null
Posted
by DannyM
on Stack Overflow
See other posts from Stack Overflow
or by DannyM
Published on 2010-06-02T14:49:06Z
Indexed on
2010/06/02
14:54 UTC
Read the original article
Hit count: 180
grails
|scaffolding
I have a domain class that can have a nullable one-to-many field. When using dynamic scaffolding, the view will insert a value from the foreign table (usually the first one in the list) even if i don't want to set this field.
© Stack Overflow or respective owner