Interface IFormSubmittingComponent
-
- All Superinterfaces:
IFormSubmitter
- All Known Implementing Classes:
AbstractSubmitLink
,AjaxButton
,AjaxFallbackButton
,AjaxSubmitLink
,Button
,CancelButton
,FinishButton
,ImageButton
,IndicatingAjaxButton
,LastButton
,NextButton
,PreviousButton
,SubmitLink
,WizardButton
public interface IFormSubmittingComponent extends IFormSubmitter
Interface that must be implemented by components that are able to submit form.- Author:
- Matej Knopp
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getInputName()
Returns the name that is unique to this component, at least within the form.Component
setDefaultFormProcessing(boolean defaultFormProcessing)
Sets the defaultFormProcessing property.-
Methods inherited from interface org.apache.wicket.markup.html.form.IFormSubmitter
getDefaultFormProcessing, getForm, onAfterSubmit, onError, onSubmit
-
-
-
-
Method Detail
-
setDefaultFormProcessing
Component setDefaultFormProcessing(boolean defaultFormProcessing)
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
String getInputName()
Returns the name that is unique to this component, at least within the form.- Returns:
- component name
-
-