com.ibm.portal.struts.portlet
Interface StrutsConstants

All Superinterfaces:
StrutsBaseConstants

public interface StrutsConstants
extends StrutsBaseConstants

The StrutsConstants class contains constants used throughout the WPS Struts portlet implementation.

Since:
5.1

Field Summary
static java.lang.String ACTION_KEY
          This key is used to specify the Struts action.
static java.lang.String ACTION_LISTENER_KEY
          The key used for specifying the name of the action listener.
static java.lang.String ACTION_NAME_KEY
          The key used for specifying the name of the action.
static java.lang.String COMMAND_MANAGER_FACTORY_KEY
          The key used for storing the CommandManagerFactory.
static java.lang.String CONCRETE_NAME
          This key is used for specifying the concrete portlet name.
static java.lang.String CONFIG_PARAM_MAX_ACTION_CHAINING
          The init parameter is to set a the max action chaining value.
static java.lang.String CONFIG_PARAM_SECURITY_CSS_PROTECTION
          The init parameter is to set a local security css protection value.
static java.lang.String ERROR_RESPONSE_FORMATTER_KEY
          The key used for storing the Error Response Formatter.
static java.lang.String FORWARD_KEY
          This key is used for specifying a Struts forward.
static java.lang.String INCLUDE_TILE
          Attribute name to indicate this is an include of a tile.
static java.lang.String INCLUDE_TILE_COMMAND
          Attribute name to obtain the include tile command.
static java.lang.String INIT_PARAM_CHECK_FILE_EXISTENCE
          Throw a portlet exception if the included file cannot be found.
static java.lang.String INIT_PARAM_COMMAND_MANAGER_PLUGIN
          Allow specifying the command manager plugin.
static java.lang.String INIT_PARAM_COMMANDS_PREFIX
          The name of the configuration parameter for setting how commands are prefixed.
static java.lang.String INIT_PARAM_CONFIGURE_MODE
          The name of the configuration parameter for specifying configure mode label.
static java.lang.String INIT_PARAM_DETERMINE_STRUTS_CALLER_INFO
          Deprecated.  
static java.lang.String INIT_PARAM_EDIT_MODE
          The name of the configuration parameter for specifying edit mode label.
static java.lang.String INIT_PARAM_HELP_MODE
          The name of the configuration parameter for specifying help mode label.
static java.lang.String INIT_PARAM_HIDE_PARAMS_IN_RENDER
          Hide request parameters in render phase.
static java.lang.String INIT_PARAM_INCLUDES_SEARCH_PATH
          The name of the configuration parameter for specifying the path to use when searching for includes.
static java.lang.String INIT_PARAM_LAST_MODIFIED_SUPPORTED
          Last modified is supported by this application.
static java.lang.String INIT_PARAM_MODULE_SEARCH_PATH
          Use this init parameter in the web deployment descriptor to specify the module search path.
static java.lang.String INIT_PARAM_NAMESCOPE_FORM_NAME
          The Struts Portlet Framework namescopes the form names.
static java.lang.String INIT_PARAM_NAMESCOPE_SERVLET_CONTEXT
          Namescope Servlet Context.
static java.lang.String INIT_PARAM_PORTLET_SESSION_MODE
          Allow JSPs to use portlet session.
static java.lang.String INIT_PARAM_PROCESSING_PHASE_SUPPORTED
          Struts Action processing phase support, default is true.
static java.lang.String INIT_PARAM_STRUTS_SERVLET_MAPPING
          Use this init parameter in the web deployment descriptor to specify the name of the Struts servlet mapping
static java.lang.String INIT_PARAM_SUB_APPLICATION_SEARCH_PATH
          Deprecated.  
static java.lang.String INIT_PARAM_USE_GROUPS_FOR_ACCESS
          The name of the configuration parameter for determining whether to use groups in place of roles in processRoles.
static java.lang.String INIT_PARAM_USE_PORTALS_LOCALE
          This parameter will allow a Struts application to use the request processor's processLocale method for controlling locale.
static java.lang.String INIT_PARAM_VIEW_MODE
          The name of the configuration parameter for specifying view mode label.
static java.lang.String INIT_PARAM_WELCOME_FILE_SEARCH_PATH
          Allows specifying the search path for welcome files.
static java.lang.String PREVIOUS_MODE
          The key used for storing the previous mode.
static java.lang.String PROCESSING_PHASE
          Attribute name for processing phase.
static int RELEASE_NUMBER
          Current release number.
static java.lang.String REMOVE_ON_MODE_CHANGE
          Attribute name to indicate that a command should be removed on a mode change.
static java.lang.String RENDER_PHASE
          Response phase.
static java.lang.String REQUEST_PHASE
          Request phase.
static java.lang.String SESSION_STATE
          The key used for storing the session state.
static java.lang.String SPF_DEFAULT_MESSAGE_RESOURCES_NAME
          The name of the default message resources file for the Struts Portlet Framework.
static java.lang.String SPF_MESSAGE_ATTRIBUTE
          The IStrutsPortletMessage interface allows specifying an attribute that should be made available to Struts actions.
static java.lang.String STRUTS_VIEW_ACTION
          Attribute name to indicate this is a view action.
static java.lang.String TILES_DEFINITION
          Attribute name to indicate the last tiles controller that was invoked.
static java.lang.String VIEW_COMMAND_FACTORY_KEY
          The key used for storing the StrutsCommandViewFactory.
static java.lang.String VIEW_COMMANDS
          The key used for storing the view command.
 
Fields inherited from interface com.ibm.portal.struts.portlet.StrutsBaseConstants
CONFIGURE_MODE, CONTEXT_PATH_PREFIX, EDIT_MODE, HELP_MODE, ISTRUTS_PREPARE_RENDER_ACTION, ISTRUTS_SINGLE_ACTION, LOOP_COUNT, MAX_LOOP_COUNT, NULL_VALUE, PATH_DATA, PREFIX, PSEUDO_RESPONSE, VIEW_MODE, WPS_ACTION_SERVLET_KEY
 

Field Detail

ACTION_KEY

static final java.lang.String ACTION_KEY
This key is used to specify the Struts action. Typically this is the name of the request attribute that has the Struts URL.

See Also:
Constant Field Values

FORWARD_KEY

static final java.lang.String FORWARD_KEY
This key is used for specifying a Struts forward. Typically this key would be used with the default portlet message sent to a Struts portlet.

See Also:
Constant Field Values

CONCRETE_NAME

static final java.lang.String CONCRETE_NAME
This key is used for specifying the concrete portlet name. The Struts portlet allows filter messages on a per concrete portlet name.

See Also:
Constant Field Values

ACTION_NAME_KEY

static final java.lang.String ACTION_NAME_KEY
The key used for specifying the name of the action.

See Also:
Constant Field Values

ACTION_LISTENER_KEY

static final java.lang.String ACTION_LISTENER_KEY
The key used for specifying the name of the action listener.

See Also:
Constant Field Values

VIEW_COMMAND_FACTORY_KEY

static final java.lang.String VIEW_COMMAND_FACTORY_KEY
The key used for storing the StrutsCommandViewFactory.

See Also:
Constant Field Values

COMMAND_MANAGER_FACTORY_KEY

static final java.lang.String COMMAND_MANAGER_FACTORY_KEY
The key used for storing the CommandManagerFactory.

See Also:
Constant Field Values

ERROR_RESPONSE_FORMATTER_KEY

static final java.lang.String ERROR_RESPONSE_FORMATTER_KEY
The key used for storing the Error Response Formatter.

See Also:
Constant Field Values

SPF_MESSAGE_ATTRIBUTE

static final java.lang.String SPF_MESSAGE_ATTRIBUTE
The IStrutsPortletMessage interface allows specifying an attribute that should be made available to Struts actions. This is the published name that can be used to retrieve the object from the request object.

See Also:
Constant Field Values

VIEW_COMMANDS

static final java.lang.String VIEW_COMMANDS
The key used for storing the view command.

See Also:
Constant Field Values

SESSION_STATE

static final java.lang.String SESSION_STATE
The key used for storing the session state.

See Also:
Constant Field Values

PREVIOUS_MODE

static final java.lang.String PREVIOUS_MODE
The key used for storing the previous mode.

See Also:
Constant Field Values

RELEASE_NUMBER

static final int RELEASE_NUMBER
Current release number.

See Also:
Constant Field Values

REMOVE_ON_MODE_CHANGE

static final java.lang.String REMOVE_ON_MODE_CHANGE
Attribute name to indicate that a command should be removed on a mode change.

See Also:
Constant Field Values

TILES_DEFINITION

static final java.lang.String TILES_DEFINITION
Attribute name to indicate the last tiles controller that was invoked.

See Also:
Constant Field Values

INCLUDE_TILE

static final java.lang.String INCLUDE_TILE
Attribute name to indicate this is an include of a tile.

See Also:
Constant Field Values

INCLUDE_TILE_COMMAND

static final java.lang.String INCLUDE_TILE_COMMAND
Attribute name to obtain the include tile command.

See Also:
Constant Field Values

PROCESSING_PHASE

static final java.lang.String PROCESSING_PHASE
Attribute name for processing phase.

See Also:
Constant Field Values

REQUEST_PHASE

static final java.lang.String REQUEST_PHASE
Request phase.

See Also:
Constant Field Values

RENDER_PHASE

static final java.lang.String RENDER_PHASE
Response phase.

See Also:
Constant Field Values

INIT_PARAM_STRUTS_SERVLET_MAPPING

static final java.lang.String INIT_PARAM_STRUTS_SERVLET_MAPPING
Use this init parameter in the web deployment descriptor to specify the name of the Struts servlet mapping

See Also:
Constant Field Values

INIT_PARAM_SUB_APPLICATION_SEARCH_PATH

static final java.lang.String INIT_PARAM_SUB_APPLICATION_SEARCH_PATH
Deprecated. 
The name of the configuration parameter for sub application search path. This parameter has been replaced by INIT_PARAMETER_PARAM_MODULE_SEARCH_PATH.

See Also:
Constant Field Values

INIT_PARAM_MODULE_SEARCH_PATH

static final java.lang.String INIT_PARAM_MODULE_SEARCH_PATH
Use this init parameter in the web deployment descriptor to specify the module search path. The Client class is used as a bean for determining the properties that can be used. The default value if not specified is "markupName, mode".

See Also:
Constant Field Values

INIT_PARAM_EDIT_MODE

static final java.lang.String INIT_PARAM_EDIT_MODE
The name of the configuration parameter for specifying edit mode label.

See Also:
Constant Field Values

INIT_PARAM_CONFIGURE_MODE

static final java.lang.String INIT_PARAM_CONFIGURE_MODE
The name of the configuration parameter for specifying configure mode label.

See Also:
Constant Field Values

INIT_PARAM_HELP_MODE

static final java.lang.String INIT_PARAM_HELP_MODE
The name of the configuration parameter for specifying help mode label.

See Also:
Constant Field Values

INIT_PARAM_VIEW_MODE

static final java.lang.String INIT_PARAM_VIEW_MODE
The name of the configuration parameter for specifying view mode label.

See Also:
Constant Field Values

INIT_PARAM_INCLUDES_SEARCH_PATH

static final java.lang.String INIT_PARAM_INCLUDES_SEARCH_PATH
The name of the configuration parameter for specifying the path to use when searching for includes. The Client class is treated as a bean for determining the properties that can be used. Note, if this parameter is not specified then the PortletContext.include is used.

See Also:
Constant Field Values

INIT_PARAM_DETERMINE_STRUTS_CALLER_INFO

static final java.lang.String INIT_PARAM_DETERMINE_STRUTS_CALLER_INFO
Deprecated. 
The name of the configuration parameter for determining Struts caller info.

See Also:
Constant Field Values

INIT_PARAM_USE_GROUPS_FOR_ACCESS

static final java.lang.String INIT_PARAM_USE_GROUPS_FOR_ACCESS
The name of the configuration parameter for determining whether to use groups in place of roles in processRoles.

See Also:
Constant Field Values

INIT_PARAM_COMMANDS_PREFIX

static final java.lang.String INIT_PARAM_COMMANDS_PREFIX
The name of the configuration parameter for setting how commands are prefixed.

See Also:
Constant Field Values

INIT_PARAM_USE_PORTALS_LOCALE

static final java.lang.String INIT_PARAM_USE_PORTALS_LOCALE
This parameter will allow a Struts application to use the request processor's processLocale method for controlling locale. The default value is true and will use the portal's locale and also support dynamic changes.

See Also:
Constant Field Values

INIT_PARAM_NAMESCOPE_FORM_NAME

static final java.lang.String INIT_PARAM_NAMESCOPE_FORM_NAME
The Struts Portlet Framework namescopes the form names. This means that javascript functions, etc need to know the encoded name. Set this paramter to false in the web deployment descriptor to turn off the feature of namescoping the form name. Note that if the form name is not namescoped it is up to the developer to assure the portlet will not be added to the page more than once and there will not be a name collision with other portlets.

See Also:
Constant Field Values

INIT_PARAM_LAST_MODIFIED_SUPPORTED

static final java.lang.String INIT_PARAM_LAST_MODIFIED_SUPPORTED
Last modified is supported by this application.

See Also:
Constant Field Values

INIT_PARAM_PROCESSING_PHASE_SUPPORTED

static final java.lang.String INIT_PARAM_PROCESSING_PHASE_SUPPORTED
Struts Action processing phase support, default is true.

See Also:
Constant Field Values

INIT_PARAM_HIDE_PARAMS_IN_RENDER

static final java.lang.String INIT_PARAM_HIDE_PARAMS_IN_RENDER
Hide request parameters in render phase.

See Also:
Constant Field Values

INIT_PARAM_NAMESCOPE_SERVLET_CONTEXT

static final java.lang.String INIT_PARAM_NAMESCOPE_SERVLET_CONTEXT
Namescope Servlet Context. This allows the Struts portlet to be defined in the web deployment descriptor more than once.

See Also:
Constant Field Values

INIT_PARAM_COMMAND_MANAGER_PLUGIN

static final java.lang.String INIT_PARAM_COMMAND_MANAGER_PLUGIN
Allow specifying the command manager plugin. Note these plugins only have access to the ActionServlet, the moduleConfig object will be null.

See Also:
Constant Field Values

INIT_PARAM_PORTLET_SESSION_MODE

static final java.lang.String INIT_PARAM_PORTLET_SESSION_MODE
Allow JSPs to use portlet session. This is called portlet session mode.

See Also:
Constant Field Values

INIT_PARAM_WELCOME_FILE_SEARCH_PATH

static final java.lang.String INIT_PARAM_WELCOME_FILE_SEARCH_PATH
Allows specifying the search path for welcome files.

See Also:
Constant Field Values

INIT_PARAM_CHECK_FILE_EXISTENCE

static final java.lang.String INIT_PARAM_CHECK_FILE_EXISTENCE
Throw a portlet exception if the included file cannot be found.

See Also:
Constant Field Values

STRUTS_VIEW_ACTION

static final java.lang.String STRUTS_VIEW_ACTION
Attribute name to indicate this is a view action.

See Also:
Constant Field Values

SPF_DEFAULT_MESSAGE_RESOURCES_NAME

static final java.lang.String SPF_DEFAULT_MESSAGE_RESOURCES_NAME
The name of the default message resources file for the Struts Portlet Framework.

See Also:
Constant Field Values

CONFIG_PARAM_SECURITY_CSS_PROTECTION

static final java.lang.String CONFIG_PARAM_SECURITY_CSS_PROTECTION
The init parameter is to set a local security css protection value.

See Also:
Constant Field Values

CONFIG_PARAM_MAX_ACTION_CHAINING

static final java.lang.String CONFIG_PARAM_MAX_ACTION_CHAINING
The init parameter is to set a the max action chaining value.

See Also:
Constant Field Values