Interface I_CmsFormSubmitHandler

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void onSubmitForm​(CmsForm form, java.util.Map<java.lang.String,​java.lang.String> fieldValues, java.util.Set<java.lang.String> editedFields)
      The method which should be called when a CmsForm is submitted.
    • Method Detail

      • onSubmitForm

        void onSubmitForm​(CmsForm form,
                          java.util.Map<java.lang.String,​java.lang.String> fieldValues,
                          java.util.Set<java.lang.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