org.apache.wicket.markup.html.form
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
 java.lang.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, 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

java.lang.String getInputName()
Returns the name that is unique to this component, at least within the form.

Returns:
component name


Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.