bean-validation
How to disable the entire bean validation in JSF?
I want to process JSR-303 validation myself, i.e., get validation factory and invoke validate method myself:[详细]
2023-04-12 01:56 分类:问答Using custom javax validation annotations in GWT
For the current project we\'re using JSR-303 annotations to validate our interface parameters. I needed to create a custom annotation for dates,开发者_StackOverflow中文版 as the default @Past and @Be[详细]
2023-04-11 10:46 分类:问答Bean Validation constraint(s) violated while executing Automatic Bean Validation on callback event: 'prePersist'
I created an EJB Session facade in my Netbeans 7 for saving my entity. I have a manytoone mapping between myInsurance and开发者_如何学编程 RatePlan Class.[详细]
2023-04-07 23:46 分类:问答Bean Validation @NotNull, @NotBlank and @NotEmpty does not work in JSF+Tomcat
I am using Hibernate Validation annotations in my JSF managed bean. When I use @NotNull, @NotBlank or @NotEmpty they doesn\'t seem to be triggered in any way.[详细]
2023-04-07 15:45 分类:问答More specific constraints in derived classes using JSR-303
Lets say there\'s a class Money that has fields开发者_开发知识库 amount and currency: class Money {[详细]
2023-04-07 09:52 分类:问答Questions about Bean Validation vs JSF validation?
I have some questions about Bean Validatio开发者_开发技巧n and JSF validation, currently I am using Bean validation:[详细]
2023-04-07 02:17 分类:问答ScriptAssert.List message from messages.properties
I have @ScriptAssert.List({ @ScriptAssert(lang=\"javascript\",script=\"_this.email.equals(_this.confirmEmail)\",message=\"email no match\"),[详细]
2023-04-05 21:46 分类:问答hibernate validator without using autowire
I\'am currently working on a Jersey project and decided to use Hibernate validator for the parameter validations. All dependencies injected on the Endpoint classes are properly initialized. However fo[详细]
2023-04-05 14:07 分类:问答Why do bean validation Min/Max constraints not support the double type?
Could somebody plea开发者_运维百科se explain to me why the JPA supports the double type as a field type, but the bean validation constaints in javax.validation.constraints (i.e. @Min/@Max) do not supp[详细]
2023-04-04 18:00 分类:问答JSF Validator ordering
I am having a problem with some bean validation. Basically I have a form where internet users can create a new profile, and they must input their username there.[详细]
2023-04-04 06:18 分类:问答