| org.apache.wicket.markup.html.form.IFormSubmittingComponent
All known Subclasses: org.apache.wicket.markup.html.form.AbstractSubmitLink, org.apache.wicket.markup.html.form.Button,
IFormSubmittingComponent | public interface IFormSubmittingComponent (Code) | | Interface that must be implemented by components that are able to submit
form.
author: Matej Knopp |
Method Summary | |
boolean | getDefaultFormProcessing() Returns whether form should be processed the default way. | Form | getForm() Returns the form this component submits. | String | getInputName() Returns the name that is unique to this component, at least within the
form. | void | onSubmit() Override this method to provide special submit handling in a multi-button
form. |
getDefaultFormProcessing | boolean getDefaultFormProcessing()(Code) | | Returns whether form should be processed the default way. When false
(default is true), all validation and formupdating is bypassed and the
onSubmit method of that button is called directly, and the onSubmit
method of the parent form is not called. A common use for this is to
create a cancel button.
defaultFormProcessing |
getForm | Form getForm()(Code) | | Returns the form this component submits.
form submitted by this component |
getInputName | String getInputName()(Code) | | Returns the name that is unique to this component, at least within the
form.
component name |
onSubmit | void onSubmit()(Code) | | Override this method to provide special submit handling in a multi-button
form. It is called whenever the user clicks this particular button.
|
|
|