net.jspcontrols.dialogs.actions
Interface DialogConstants


public interface DialogConstants

Dialog constants, used in Struts Dialogs package.

Author:
Michael Jouravlev

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

DIALOG_EVENT_KEY

public static final java.lang.String DIALOG_EVENT_KEY
Default prefix for dialog events, like submit button names.

See Also:
Constant Field Values

DIALOG_VIEW_KEY

public static final java.lang.String DIALOG_VIEW_KEY
The default View mapping for dialog. A dialog may have one or several Views and view mappings.

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.

See Also:
Constant Field Values

DIALOG_RELOAD_KEY

public static final java.lang.String DIALOG_RELOAD_KEY
The default reload mapping for dialog. A dialog redirects to reload location.

If the dialog redirects to itself (default), then reload mapping can be omitted in the action mapping.

See Also:
Constant Field Values

DIALOG_CANCEL_KEY

public static final 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.

If you want to use default cancel mapping name, define the cancel path using "DIALOGCANCEL" name in <forward> element of your action mapping.

See Also:
Constant Field Values

DIALOG_DONE_KEY

public static final 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.

If you want to use default done mapping name, define the path using "DIALOGDONE" name in <forward> element of your action mapping.

See Also:
Constant Field Values

DIALOG_FAILURE

public static final java.lang.String DIALOG_FAILURE
The default mapping for failed dialog

See Also:
Constant Field Values

DIALOG_SUCCESS

public static final java.lang.String DIALOG_SUCCESS
The default mapping for succeeded dialog

See Also:
Constant Field Values