grails-validation
How to access command objects from filter and is it possible at all?
I often write something like: def myAction{ MyActionCommand cmd -> if( cmd.hasErrors() ){ return render(status:HttpServletResponse.SC_BAD_REQUEST );[详细]
2023-04-05 06:56 分类:问答Passing arguments to Grails custom validator
http://www.grails.org/doc/latest/ref/Constraints/validator.html I have a project where I would like users to log in with a temporary password I provide them via开发者_开发技巧 SMS message. Thus, on l[详细]
2023-04-04 12:05 分类:问答Grails unique test fails after interchanging attribute values
Hello I am trying to implement a simple translation list, meaning I have a values and translations to this values.[详细]
2023-03-09 17:53 分类:问答Grails validation fails after interchanging unique attribute values
Grails validation fails after interchanging unique attribute values Hi, I am trying to create an interface where users can create some custom enumeration with translations for different languages. Fo[详细]
2023-03-09 08:04 分类:问答Grails: can I make a validator apply to create only (not update/edit)
I have a domain class that needs to have a date after the day it is created in one of its fields. class myClass {[详细]
2023-03-04 14:08 分类:问答Grails validation dependent on other attributes
What is the correct way to do something like this with grails: class myDomainThing { String description[详细]
2023-03-04 12:04 分类:问答ConversionNotSupportedException with similarly named classes
UPDATED: made some wrong assumptions about classes etc. The following occurs now when I have a \'demo\' project:[详细]
2023-03-04 03:44 分类:问答Grails formRemote - how to avoid redirect on multi form?
I have a master controller named Screening. I have build view workflow for this controller (e.g : create, edit, list, show).[详细]
2023-02-22 06:36 分类:问答Grails: Property Null error
I\'ve a domain called Modulo with some properties and a Controller with a method that create a object from model and save it, when execute save the shell show this error:[详细]
2023-02-17 17:54 分类:问答Grails custom validator for domain class
I have a restriction so there could be no more than ConfigurationHolder.config.support.reminder.web.person.max object stored.[详细]
2023-02-05 12:23 分类:问答