Jul 21st, 2011, 07:05 AM
Dynamic default value
I am currently developing my first Grails project. It might be a stupid question but how do I set a default value for a column within the create view or domain or controller? I know I can set a static value within the domain like this in this case however I want to retrieve a value from a different domain. To make it more precise - I am using the nimble plugin and would like to set the default value of a user column to the current user....
Can anybody give me some input on this issue?