[
http://opensource.atlassian.com/projects/hibernate/browse/HV-38?page=com....
]
Hardy Ferentschik commented on HV-38:
-------------------------------------
This issue was created for the 3.x codebase. The 4.x codebase is the reference of Bean
Vaidation. According to the spec there is no "apply-if" parameter for @NotNull.
In fact there is no EL stuff specified at all.
We are currently thinking about adding some Hibernate Validator specific constraint which
supports scripting. However, this won't affect @NotNull.
Conditional validation
----------------------
Key: HV-38
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HV-38
Project: Hibernate Validator
Issue Type: Improvement
Components: legacy
Affects Versions: 3.0.0.ga
Reporter: Bruno Braga
Priority: Critical
Fix For: 3.2.0
Attachments: commons-jexl-1.1.jar, hibernate-validator.jar, patch.txt
Support Conditional Validation
Example:
@NotNull(apply-if="some condition in el")
I can develop this if you approve.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira