support for custom types via @Valid ----------------------------------- Key: EXTVAL-96 URL: https://issues.apache.org/jira/browse/EXTVAL-96 Project: MyFaces Extensions Validator Issue Type: New Feature Components: Bean Validation Reporter: Gerhard Petracek
it should be possible to use custom types (+ converters for it) and constraints in such custom types should be validated if @Valid is used at the bound property. cascaded validation should be performed if there is no violated constraint of the property itself. example: public class CustomType { @NotNull private String property1; @Size(min = 3) private String property2; public CustomType(String property1, String property2) { this.property1 = property1; this.property2 = property2; } public String getProperty1() { return property1; } public String getProperty2() { return property2; } } public class MyBean { @NotNull @Valid private CustomType property; public CustomType getProperty() { return property; } public void setProperty(CustomType property) { this.property = property; } } //custom converter //... -> #{myBean.property} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.