public enum SubmitMode extends Enum<SubmitMode>
Submit or LinkSubmit component.| Enum Constant and Description | 
|---|
| CANCELCancel the form; bypass form validation on both the client and the server. | 
| NORMALSubmit the form normally, with full validation on the client and server side. | 
| UNCONDITIONALSubmits the form, bypassing client-side validation, but performing all normal server-side processing (including validation). | 
| Modifier and Type | Method and Description | 
|---|---|
| static SubmitMode | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static SubmitMode[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final SubmitMode NORMAL
public static final SubmitMode CANCEL
Form fires
 the EventConstants.CANCELED event. If the event handler for that event allows the submission to proceed, then server-side validation still occurs
 on the server, though generally the data is discarded by the event listener
 (listening to the Submit component's EventConstants.SELECTED event).public static final SubmitMode UNCONDITIONAL
public static SubmitMode[] values()
for (SubmitMode c : SubmitMode.values()) System.out.println(c);
public static SubmitMode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null${project.version} - Copyright © 2003-2015 The Apache Software Foundation.