grails-validation
Grails validateable not work for non-persistent domain class
I followed the instruction here: http://www.grails.org/doc/latest/guide/7.%20Validation.html and added into config.groovy:[详细]
2023-01-31 05:03 分类:问答Custom Grails validation
I would like to check to make sure two fields are not equal and one is greater then the other. Say yearBorn and yearMarried. They cannot be开发者_Go百科 equal and yearMarried must be greater then year[详细]
2023-01-24 18:58 分类:问答Grails min constraint for date validation
I am a newbie in grails and groovy. I have a Project domain-class with start and end date. I want to put in a constraint specifying that the end date needs to be greater than the start date(and then f[详细]
2023-01-23 08:55 分类:问答Grails validation issue on multi-domain association?
I need to validate save action between 3 domains, here is relationship : User - JobProcess : one-to-many, JobProcess - Heatmap : one-to-many.[详细]
2023-01-21 04:17 分类:问答Displaying Grails Field Errors
Does anybody know how I could get the fieldError to print out in the example below. for each item with an error, I would like to print custom error messages that I have defined in the messages.proper[详细]
2023-01-07 19:58 分类:问答Interrupting grails dynamic methods
I have one grails application.I开发者_开发知识库n that I have one model class named Book. From any controller if I am calling Book.list(), Book.get(id) and some other hibernate calls like save() I wan[详细]
2022-12-20 16:06 分类:问答Grails: nested command objects
In my grails app I have an outer command object that contains a list of other command objects: public class OuterCommand {[详细]
2022-12-13 19:41 分类:问答Render Errors From A Service
I call a service that creates a parent and a child record. If an error happens, the service throws a RuntimeException. The RuntimeExceptionis is caught by the controller and then there there is a redi[详细]
2022-12-10 07:06 分类:问答