I have a requirement where I need all the constant values to be externalized to a .properties file from the validation-rules.xml. e.g. we have a maxlength validation for user name set at 20. I need to move this value of the maxlength (20) into a properties file.
Is there any built in-support for this? Has anyone ever accomplished this by writing some kind of post processor?