I have a text box whose length I would like to limit while limiting the maxSize of one of my domain classes.
So, if I have a class foo:
class Foo { String bar static constraints = { bar(maxSize: 100) } }
I would like to get a value of 100 for the property bar. Is it possible?
grails constraints
Igor
source share