Is possible to pass parameter in a Validation Annotation:

 

.

.

.

  @RequiredStringValidator(type = ValidatorType.SIMPLE, fieldName =
"user.email", message="",  key="field.required.msg"),

                  

.

.

.

 

I want to pass one parameter to the key field.required.msg, but the
annotation doesn't have any property to add this.

 

Thanks

 

Reply via email to