Class CourseListChoiceValidator

All Implemented Interfaces:
ContentValidator, LogEnabled

Validator for CourseList to check if the min value is correctly fill when choice type is choosen.
  • Constructor Details

  • Method Details

    • validate

      public void validate(Content content, Errors errors)
      Description copied from interface: ContentValidator
      Validates a content.
      Parameters:
      content - the content to validate
      errors - the structure to populate if the validation failed.
    • validate

      public void validate(Content content, Map<String,Object> values, View view, Errors errors)
      Description copied from interface: ContentValidator
      Validates a content being edited
      Parameters:
      content - the content to validate
      values - the values being set
      view - the view
      errors - the structure to populate if the validation failed.