Interface I_CmsValidationHandler


  • public interface I_CmsValidationHandler
    This interface is used to receive notifications about the status of the validation.

    Since:
    8.0.0
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void onValidationFinished​(boolean ok)
      This method is called when the validation has been completed.
      void onValidationResult​(java.lang.String fieldId, org.opencms.gwt.shared.CmsValidationResult result)
      This method is called when a single field has been validated.
    • Method Detail

      • onValidationFinished

        void onValidationFinished​(boolean ok)
        This method is called when the validation has been completed.

        Parameters:
        ok - true if all fields have been successfully validated
      • onValidationResult

        void onValidationResult​(java.lang.String fieldId,
                                org.opencms.gwt.shared.CmsValidationResult result)
        This method is called when a single field has been validated.

        Parameters:
        fieldId - the field which has been validated
        result - the result of the validation