grails-constraints Questions

2

Solved

I cannot render the errors from my command object. It does the job well but my .gsp view does not render the errors I raise. Here is my controller action: def handleModifyProfile2 = { CreditProv...

3

Solved

I have a text field whose length I would like to limit at the maxSize constraint of one of my domain classes. So if I have a class foo: class Foo { String bar static constraints = { bar(maxS...
Heliotropin asked 5/4, 2012 at 14:55

1

Solved

How can I escape the forward slashes in the regex when using the matches constraint? This is what I tried: constraints { url ( matches: "^http://www.google.com/$" ) } Error: solution: either ...
Detestation asked 5/1, 2013 at 10:21

2

Solved

I am new to Grails. I have a Person domain class as : class Person { String firstName String lastName String gender Date dateOfBirth } And wondering if I can define possible values for a pr...
Kamala asked 8/7, 2012 at 4:46
1

© 2022 - 2024 — McMap. All rights reserved.