Class ReadOnlyValidator

    • Constructor Detail

      • ReadOnlyValidator

        public ReadOnlyValidator()
    • Method Detail

      • validate

        public boolean validate​(Object submittedValue,
                                FormFieldValidatorContext validatorContext)
        Description copied from interface: FormFieldValidator
        return true if the submitted value is valid for the given form field.
        Specified by:
        validate in interface FormFieldValidator
        Parameters:
        submittedValue - the value submitted to the form field
        validatorContext - object providing access to additional information useful wile validating the form
        Returns:
        true if the value is valid, false otherwise.