Fork me on GitHub
<< back to Core Developers Guide Edit on GitHub

ValidationParameter annotation

The ValidationParameter annotation is used as a parameter for CustomValidators.

Usage

The annotation must embedded into CustomValidator annotations as a parameter.

Parameters

Parameter Required Default Notes
name yes   parameter name.
value yes   parameter value.

Examples

 @CustomValidator(
   type ="customValidatorName",
   fieldName = "myField",
   parameters = { @ValidationParameter( name = "paramName", value = "paramValue" ) }
 )