public class CmsDialogFormHandler extends java.lang.Object implements I_CmsFormHandler
限定符和类型 | 字段和说明 |
---|---|
protected CmsFormDialog |
m_dialog
The form dialog.
|
protected I_CmsFormSubmitHandler |
m_submitHandler
The form submit handler.
|
构造器和说明 |
---|
CmsDialogFormHandler() |
限定符和类型 | 方法和说明 |
---|---|
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.
|
void |
setDialog(CmsFormDialog dialog)
Sets the dialog.
|
void |
setSubmitHandler(I_CmsFormSubmitHandler submitHandler)
Sets the form submit handler.
|
protected CmsFormDialog m_dialog
protected I_CmsFormSubmitHandler m_submitHandler
public void onSubmitValidationResult(CmsForm form, boolean ok)
I_CmsFormHandler
onSubmitValidationResult
在接口中 I_CmsFormHandler
form
- the formok
- the validation resultI_CmsFormHandler.onSubmitValidationResult(org.opencms.gwt.client.ui.input.form.CmsForm, boolean)
public void onValidationResult(CmsForm form, boolean ok)
I_CmsFormHandler
onValidationResult
在接口中 I_CmsFormHandler
form
- the formok
- the validation resultI_CmsFormHandler.onValidationResult(org.opencms.gwt.client.ui.input.form.CmsForm, boolean)
public void setDialog(CmsFormDialog dialog)
dialog
- the form dialogpublic void setSubmitHandler(I_CmsFormSubmitHandler submitHandler)
submitHandler
- the new form submit handler