getMetadata
public Map<String,Object> getMetadata(FacesContext context,
ValidatorFactory validatorFactory,
ConstraintDescriptor<?> constraintDescriptor,
UIInput input)
Returns a map of properties that should be passed to the client-side
validation function to assist with validation in the browser.
- Parameters:
context
- the current faces context
validatorFactory
- the validator factory
constraint
- the bean validation constraint descriptor
input
- the control the constraint is for
- Returns:
- map of properties