Interface I_CmsValidationController

All Known Implementing Classes:
CmsValidationController

public interface I_CmsValidationController
This is the interface which an I_CmsValidator object uses to either synchronously report the result of a validation or to request an asynchronous validation from the server.

Since:
8.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    provideValidationResult(String field, org.opencms.gwt.shared.CmsValidationResult result)
    Reports the result of a synchronous validation.
    void
    validateAsync(String field, String value, String validator, String config)
    Requests an server-side validation to be performed later.
  • Method Details

    • provideValidationResult

      void provideValidationResult(String field, org.opencms.gwt.shared.CmsValidationResult result)
      Reports the result of a synchronous validation.

      Parameters:
      field - the field name
      result - the validation result
    • validateAsync

      void validateAsync(String field, String value, String validator, String config)
      Requests an server-side validation to be performed later.

      Parameters:
      field - the field name
      value - the value of the field
      validator - the server-side validator class name
      config - the configuration string for the server-side validator