|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<SubmitMode> org.apache.tapestry5.corelib.SubmitMode
public enum SubmitMode
Defines the client and server-side behavior of a Submit
or LinkSubmit
component.
Enum Constant Summary | |
---|---|
CANCEL
Cancel the form; bypass form validation on both the client and the server. |
|
NORMAL
Submit the form normally, with full validation on the client and server side. |
|
UNCONDITIONAL
Submits the form, bypassing client-side validation, but performing all normal server-side processing (including validation). |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
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
Method Detail |
---|
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 name
NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |