validation rules « Web « Spring Q&A





1. Custom validation rules and internationalization    forum.springsource.org

I've created a custom Constraint and want the resulting error message (as it appears in a TitledPageApplicationDialog) to be looked up via the standard internationalization message API (aka, I'll put the ...

2. declarative validation rules in Spring    forum.springsource.org

declarative validation rules in Spring Valang validator is a Spring validator introducing declarative validation rules: Here are some examples: Code:

3. Cannot find validator-rules.xml    forum.springsource.org

Cannot find validator-rules.xml Hi, I must be missing something. I try to integrate Validator into my webapp, but everyone talks about the validator-rules.xml file, but I cannot find it neither in ...

4. Rules-Based Validation - Does this exist?    forum.springsource.org

Rules-Based Validation - Does this exist? I have seen references to the fact that rules-based validation may be added to Spring. (Rob Harrop's book ProSpring mentions this for one). Does this ...

5. Rules Validation using Or()    forum.springsource.org

Rules Validation using Or() I am having some trouble writing a rule to ensure that at least one of a set of two fields are input. Code follows; protected void initRules() ...

6. ValangRulesExportInterceptor export rules only for the primary validator    forum.springsource.org

ValangRulesExportInterceptor export rules only for the primary validator Guys, I'm using the "validation" module and had a little problem, because I was using 2 validators on my controller: Code:

8. Nested validation rules    forum.springsource.org

Nested validation rules I have a little problem with validating child properties of an object. Say, I have an object "BusinessUnit", with a child object "TaxData", that holds a tax number ...

9. Where can I find the validation-rules.xml to implement Common Validator    forum.springsource.org

Hi, I am trying to use Common Validator inside Spring MVC Where can I find the validation-rules.xml to implement Common Validator with Spring MVC ? Thanks





10. Re: Custom Validation Rules    forum.springsource.org

Re: Custom Validation Rules Hi, I am using spring-modules validation latest release combined with commons-validator. I want to make a custom validation rules spring context aware. Is this possible my custom ...

11. Rules validation for uniqueness    forum.springsource.org

Rules validation for uniqueness Hello, I want to validate field uniqueness (between several beans) of my dialog's form with the Spring Rules module. For example, I want to check that the ...

12. Externalizing constants out of validation-rules.xml    forum.springsource.org

I have a requirement where I need all the constant values to be externalized to a .properties file from the validation-rules.xml. e.g. we have a maxlength validation for user name set ...