Dialog constants, used in Struts Dialogs package.
Field Summary | |
static java.lang.String |
DIALOG_CANCEL_KEY
The default name of the action mapping "forward" element, describing the location where the dialog should directed after a user canceled it. |
static java.lang.String |
DIALOG_DONE_KEY
The default name of the action mapping "forward" element, describing the location where the dialog should directed after it completes. |
static java.lang.String |
DIALOG_EVENT_KEY
Default prefix for dialog events, like submit button names. |
static java.lang.String |
DIALOG_FAILURE
The default mapping for failed dialog |
static java.lang.String |
DIALOG_RELOAD_KEY
The default reload mapping for dialog. |
static java.lang.String |
DIALOG_SUCCESS
The default mapping for succeeded dialog |
static java.lang.String |
DIALOG_VIEW_KEY
The default View mapping for dialog. |
Field Detail |
public static final java.lang.String DIALOG_EVENT_KEY
public static final java.lang.String DIALOG_VIEW_KEY
If the dialog has only one view mapping, and you want to use default view mapping name, define the View path using "DIALOG-VIEW" name in <forward> element of your action mapping.
public static final java.lang.String DIALOG_RELOAD_KEY
If the dialog redirects to itself (default), then reload mapping can be omitted in the action mapping.
public static final java.lang.String DIALOG_CANCEL_KEY
If you want to use default cancel mapping name, define the cancel path using "DIALOGCANCEL" name in <forward> element of your action mapping.
public static final java.lang.String DIALOG_DONE_KEY
If you want to use default done mapping name, define the path using "DIALOGDONE" name in <forward> element of your action mapping.
public static final java.lang.String DIALOG_FAILURE
public static final java.lang.String DIALOG_SUCCESS