command-objects Questions
3
Solved
I have a date (as a string) being submitted. I'd like to map this to a command object. I have looked around quite a bit and found no great resource on how to do this mapping within a command object...
Totality asked 21/6, 2013 at 18:23
3
Solved
I'm using grails 2.2.1 and attempting to validate a nested command structure. Here is a simplified version of my command objects:
@Validateable
class SurveyCommand {
SectionCommand useful
Secti...
Aspergillus asked 24/4, 2013 at 0:50
4
Solved
Grails has very good support for binding request parameters to a domain object and it's associations. This largely relies on detecting request parameters that end with .id and automatically loading...
Grecism asked 15/4, 2011 at 13:38
4
Here's what I'd like to do:
class A {
String string
static constraints = {
string(maxSize:100)
}
}
class B extends A {
static constraints = {
string(url:true)
}
}
So class A should have ...
Sentient asked 14/10, 2010 at 14:22
1
I have a class called LoginCommand in domain/my/package/name
class LoginCommand {
String emailAddress
String password
}
My question is why is a table be auto generated in my database for a *...
Prerecord asked 15/4, 2013 at 20:26
2
In my grails app I have an outer command object that contains a list of other command objects:
public class OuterCommand {
List<InnerCommand> innerCommands = ListUtils.lazyList([], Factory...
Infrequency asked 9/12, 2009 at 18:7
2
Solved
I am trying to test a Controller
that has a Command object with data binding.
The Command Object has a Service injected into it.
But When I try test the command object the injected service method...
Licorice asked 9/11, 2009 at 21:27
1
© 2022 - 2024 — McMap. All rights reserved.