Just a few high-level, hopefully very quick questions: 1) If I have a class A with a single field x, is constructing it
In Grails controller actions, for validations, We use command objects. The problem is the number of CommandObject classes have exploded.
I would like to build a customized validator in my Command object, to make sure the field email address of a form will not be empty if the notifyMe checkbox is selected.
Straight from page 104 of \"The Definitive Guide to Grails (Second Edition)\": void testLoginUserNotFound() {
How can I get the session from within a command object? I have tried: import org.springframework.security.context.SecurityContextHolder as SCH
In my grails app I have an outer command object that contains a list of other command objects: public class OuterCommand {
I am trying to test a Controller that has a Command object with data binding. The Command Object has a Service injected into it.
In a plugin, I need to iterate over all domain and command object classes to apply some meta-magic to them. Getting the domain classes isn\'t a problem, however command objects are not that easy to ge