Interface I_CmsFormHandler

All Known Implementing Classes:
CmsDialogFormHandler, CmsEditProperties.WorkplacePropertyEditorContext, CmsSeoOptionsDialog, CmsUploadPropertyPanel

public interface I_CmsFormHandler
The interface for objects which should be notified when a CmsForm is successfully submitted.

Since:
8.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Returns true if properties are currently being submitted.
    void
    onSubmitValidationResult(CmsForm form, boolean ok)
    This method is called when the validation triggered by an attempt to submit the form has finished.
    void
    onValidationResult(CmsForm form, boolean ok)
    This method is called when the normal validation triggered by changing fields has finished.
  • Method Details

    • isSubmitting

      boolean isSubmitting()
      Returns true if properties are currently being submitted.

      Returns:
      true if properties are being submitted
    • onSubmitValidationResult

      void onSubmitValidationResult(CmsForm form, boolean ok)
      This method is called when the validation triggered by an attempt to submit the form has finished.

      Parameters:
      form - the form
      ok - the validation result
    • onValidationResult

      void onValidationResult(CmsForm form, boolean ok)
      This method is called when the normal validation triggered by changing fields has finished.

      Parameters:
      form - the form
      ok - the validation result