Affects Version/s: 3.0-M3
Fix Version/s: 3.0-RC1
I am trying to extend the validation of the fields in Bpm4Struts, my
idea is to write by hand the validator code and modify the
validator-rules.xml file, but I want the "validation.xml" be written
from the model.
This validation can not be done with simple regular expression, because
they are things like account numbers (which need a calculation within
the numbers to determine if it is correct)
My idea is to be able to specify names within the
@andromda.struts.view.field.validwhen tagged value, and this values
written within the validation.xml.
My problem is with the handleGetValidatorTypes form
StrutsParameterLogic.java does not return anything when the name is not
one of the permited ones. Should not this be "opened" just to allow
writting our own validators?
..in this way a Validator class could contain the validators, so the validation-rules can be written correctly form the model.