bean-validation
Can Hibernate Validator 3.x coexist with 4.x?
Can Hibern开发者_Python百科ate Validator version 3.x (proprietary) coexist with version 4.x (JSR-303 compliant) in the same application server lib? I\'m using JBoss 4.2.3.Yes, I think this should work[详细]
2023-04-03 11:55 分类:问答How to enable JSR-303 bean validation in Facelets?
I\'m using spring CDI and a customized \"View\" scope. (See this about how it works.) The view bean is annotated with JSR-303 validation rules as following:[详细]
2023-03-30 19:49 分类:问答Can't clear form input after reject
I am having trouble clearing a form input field using Bean Validation when a constraint is validated.I have a form input that may not exceed 50 characters, so I want to display a message and clear the[详细]
2023-03-30 09:43 分类:问答JSR303 validation on collection of common objects
Is it possible to validate each element of a collection, based one or more deleg开发者_StackOverflow中文版ate validation rules? For example:[详细]
2023-03-30 08:50 分类:问答JSF 2.0 + Bean Validation + More Validation Groups In One Form
I\'m trying to create form for editing entity object when selected from datatable. So when user clicks commandButton in datatable, myBean.person property is filled with appropriate person object. Pers[详细]
2023-03-30 07:48 分类:问答@AssertTrue of javax.validation - isn't it supposed to create an error message?
I am having the following code in a Spring-MVC command bean: @AssertTrue public boolean isConditionTrue() {[详细]
2023-03-30 03:39 分类:问答JSR 303 Validation Override
How can I go about overriding the validation on the email for the AuthorizedUser in the following situation:[详细]
2023-03-29 16:29 分类:问答Hibernate Validator - @Length - How to specify separate message for min and max?
I am using Hibernate validator for form validation in my web-app.I am using the @Length annotation for my String attribute as follows:[详细]
2023-03-28 18:45 分类:问答Can I implement Hibernate (JSR 303) method validation with apache wink (JAX/RS)
I am currently investigating using the hibernate validators support for Method validation using JSR 303 annotations. An initial attempt tried to wrap the resources with a proxy (generated using cglib)[详细]
2023-03-25 19:27 分类:问答Java JSR-303 Bean Validation - implementation comparison
I\'m looking into adding JSR-303 validation to an application and I\'m down to two options: Hibernate validator[详细]
2023-03-24 23:50 分类:问答