I would like to have this kind of behaviour:
<t:textfield value="field" validate="regexp=prop:fieldRegex" />
public String getFieldRegex() {
return "^[a-z]+$";
}
or
<t:textfield value="field" validate="prop:fieldRegex" />
public String getFieldRegex() {
return "regexp=^[a-z]+$";
}
I know that it's possible to include regular expressions in the message
resources, but i would like to have a diferent source like database.
Are there any solution? I have looking way to solve this with contributions
but i think it's not possible.
Not the way it's implemented.
Having this kind of configuration it's possible to update the regular
expressions on real time and without a new deploy.
Anyone would like to have this improvement?
--
Cumprimentos...
Pedro Januário