Module org.apache.wicket.core
Interface IFormSubmittingComponent
- All Superinterfaces:
IFormSubmitter
- All Known Implementing Classes:
AbstractSubmitLink
,AjaxButton
,AjaxFallbackButton
,AjaxSubmitLink
,Button
,CancelButton
,FinishButton
,ImageButton
,IndicatingAjaxButton
,LastButton
,NextButton
,PreviousButton
,SubmitLink
,WizardButton
Interface that must be implemented by components that are able to submit form.
- Author:
- Matej Knopp
-
Method Summary
Modifier and TypeMethodDescriptionReturns the name that is unique to this component, at least within the form.setDefaultFormProcessing
(boolean defaultFormProcessing) Sets the defaultFormProcessing property.Methods inherited from interface org.apache.wicket.markup.html.form.IFormSubmitter
getDefaultFormProcessing, getForm, onAfterSubmit, onError, onSubmit
-
Method Details
-
setDefaultFormProcessing
Sets the defaultFormProcessing property. When false (default is true), all validation and form updating 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.- Parameters:
defaultFormProcessing
-- Returns:
this
component
-
getInputName
Returns the name that is unique to this component, at least within the form.- Returns:
- component name
-