Interface I_CmsFormSubmitHandler

All Known Implementing Classes:
CmsPropertySubmitHandler, CmsUserSettingsDialog

public interface I_CmsFormSubmitHandler
This is an interface for classes which process submitted form data.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onSubmitForm(CmsForm form, Map<String,String> fieldValues, Set<String> editedFields)
    The method which should be called when a CmsForm is submitted.
  • Method Details

    • onSubmitForm

      void onSubmitForm(CmsForm form, Map<String,String> fieldValues, Set<String> editedFields)
      The method which should be called when a CmsForm is submitted.

      The map passed as a parameter will contain key-value pairs where the key is the name of the field and the value is the value obtained from the field. It is explicitly allowed that the value is null; this means that the property is set to 'default'.

      Parameters:
      form - the form
      fieldValues - a map of field values
      editedFields - the fields which have been edited