Hi,
For a simple class like,
class Person {
String Name
Double incomeFromWork = new Double(0.0)
static constraints = {
incomeFromWork(min:0d)
}
}
However on the GSP page I get an "HTTP ERROR: 404" error when I enter alphabets for incomeFromWork
value. What constraints should I use to accept a valid Double
value as an income?
Thanks, BT