|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.wicket.ajax.form.AjaxFormSubmitBehavior.AjaxFormSubmitter
public static class AjaxFormSubmitBehavior.AjaxFormSubmitter
A publicly reachable class that allows to introspect the submitter, e.g. to check what is the input name of the submitting component if there is such.
| Method Summary | |
|---|---|
boolean |
getDefaultFormProcessing()
Returns whether form should be processed the default way. |
Form<?> |
getForm()
Returns the form this component submits. |
IFormSubmittingComponent |
getFormSubmittingComponent()
|
void |
onAfterSubmit()
Override this method to provide special submit handling in a multi-button form. |
void |
onError()
Method that is invoked when form processing fails; for example, when there are validation errors. |
void |
onSubmit()
Override this method to provide special submit handling in a multi-button form. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public Form<?> getForm()
IFormSubmitter
getForm in interface IFormSubmitterpublic IFormSubmittingComponent getFormSubmittingComponent()
public boolean getDefaultFormProcessing()
IFormSubmitter
getDefaultFormProcessing in interface IFormSubmitterpublic void onError()
IFormSubmitter
onError in interface IFormSubmitterpublic void onSubmit()
IFormSubmitter
onSubmit in interface IFormSubmitterpublic void onAfterSubmit()
IFormSubmitter
onAfterSubmit in interface IFormSubmitter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||