Didn't see this in example, so:
If I use an XML file to configure my validator, can it contain the valid values for the field?
Like this maybe:
<class type="acme.model.Room" overwrite="false" applyFieldConstraintsToSetter="true">
Btw. the easiest way to figure out how constraints are configured via XML is to use an editor that supports XSD auto-completion (e.g. Eclipse) and specifying the oval config XSD in the XML header like
Didn't see this in example, so:
If I use an XML file to configure my validator, can it contain the valid values for the field?
Like this maybe:
<class type="acme.model.Room" overwrite="false" applyFieldConstraintsToSetter="true">
hi Kieth,
try this:
Btw. the easiest way to figure out how constraints are configured via XML is to use an editor that supports XSD auto-completion (e.g. Eclipse) and specifying the oval config XSD in the XML header like
Regards,
Seb
Last edit: Seb 2018-03-04