Hi, I have just started using hibernate validator.
I am creating the constraints in an XML file(not annotations).
The only problem I am having is that I would like to use properties inside the constraints.
For example:
<bean class="MyBean" >
<constraint annotation="javax.validation.constraints.Min">
<element name="value">{myProperty}</element>
</constraint>
</bean>
and I would like to define these properties in a separate file.
Do you think that's possible?
Any help would be appreciated.