bean-validation
How can I validate a complex model object in Spring 3 using @Valid annotations?
I have a model object modelling a purchase order. The purchase order has a few fields (such as ID and date) and a list of line-items as ArrayList. I can validate the parent purchase order ok, but it c[详细]
2023-03-08 03:51 分类:问答Can you change an annotation message at run time?
I\'m trying to include a dynamic message in my annotation that changes the main body of the text based on the values that are found in the other variables that are passed to it.I set a default message[详细]
2023-03-06 16:08 分类:问答Bypass bean validation in JSF2?
I\'m wondering if it\'s possible to bypass bean validators for certain actions in JSF2. I\'ve generated entities from my DB schema using NetBeans 7, which include validation attributes.[详细]
2023-03-06 06:49 分类:问答JSR-303 Append Default Validation Message
I am using the Apache Bean Validation implementation of JSR-303 and was curious if there is a way to append a message to the default message that is defined in the ValidationMessages.propeties file.[详细]
2023-03-05 18:34 分类:问答gwt 2.3 gwt-servlet-deps.jar from Ant Ivy build
I am trying to get a simple GWT 2.3 project working in DevMode with an Ant Ivy build.I have used Ivy for GWT projects prior to 2.3 (GWT 2.0.x in particular), and the following dependencies (in my Ivy[详细]
2023-03-03 10:20 分类:问答How to perform JSF validation in actionListener or action method?
I have Bean validation working nicely in my application. Now I want to check that a new user does not choose a username that has already been chosen.[详细]
2023-03-02 18:26 分类:问答Spring javax.validation annotation not caught in BindingResult
I am trying to add validation to my model objects (which double as my form backing beans) using javax.validation annotations.[详细]
2023-03-01 02:33 分类:问答JSR303 validator message recursive resolution?
I have written a JSR303 validator that compares property value to constraint: @Documented @Constraint(validatedBy = Cmp.LongCmpValidator.class)[详细]
2023-02-28 02:58 分类:问答JSR-303 validation with custom message
I\'m using Spring 3.0.5-RELEASE, with JSR-303 style validation and Hibernate validator 4.1.0-F开发者_高级运维inal. My model class looks something like this:[详细]
2023-02-27 23:12 分类:问答Not getting JSR303 annotations to work with Tomcat 7
After a couple hours of Google and a couple of tutorials I\'m beat... It\'s not the fact that I\'m getting errors that can give me hints on what the problem is, it\'s the complete lack of them that\'s[详细]
2023-02-27 17:12 分类:问答