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 TypeMethodDescriptionbooleanReturns true if properties are currently being submitted.voidonSubmitValidationResult(CmsForm form, boolean ok) This method is called when the validation triggered by an attempt to submit the form has finished.voidonValidationResult(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
This method is called when the validation triggered by an attempt to submit the form has finished.- Parameters:
form- the formok- the validation result
-
onValidationResult
This method is called when the normal validation triggered by changing fields has finished.- Parameters:
form- the formok- the validation result
-