org.apache.struts2.portlet
Interface PortletActionConstants

All Known Implementing Classes:
DirectRenderFromEventAction, DispatcherServlet, Jsr168Dispatcher, PortletActionContext, PortletActionRedirectResult, PortletAwareInterceptor, PortletFreemarkerResult, PortletResult, PortletServletRequest, PortletStateInterceptor

public interface PortletActionConstants

Interface defining some constants used in the Struts portlet implementation


Field Summary
static java.lang.String ACTION_MAPPING
          Key for the action mapping in the context
static java.lang.String ACTION_PARAM
          Action name parameter name
static java.lang.String ACTION_RESET
          Key for request attribute indicating if the action has been reset.
static java.lang.String DEFAULT_ACTION_FOR_MODE
          Key for the default action name for the portlet, stored in the PortletActionContext.
static java.lang.String DEFAULT_ACTION_NAME
          Default action name to use when no default action has been configured in the portlet init parameters.
static java.lang.String DEFAULT_DISPATCHER_SERVLET_NAME
          Default name of dispatcher servlet in web.xml
static java.lang.String DISPATCH_TO
          Key for the dispatch instruction for the DispatcherServlet
static java.lang.String ERROR_ACTION
          Name of the action used as error handler
static java.lang.String EVENT_ACTION
          Key used for looking up and storing the action that was invoked in the event phase.
static java.lang.Integer EVENT_PHASE
          Constant used for the event phase ( Portlet.processAction(javax.portlet.ActionRequest, javax.portlet.ActionResponse))
static java.lang.String MODE_NAMESPACE_MAP
          Key for the mode-to-namespace map stored in the PortletActionContext.
static java.lang.String MODE_PARAM
          Key for parameter holding the last executed portlet mode.
static java.lang.String PHASE
          Key used for looking up and storing the portlet phase
static java.lang.String PORTLET_CONFIG
          Key used for looking up and storing the PortletConfig
static java.lang.String PORTLET_NAMESPACE
          Key for the portlet namespace stored in the PortletActionContext.
static java.lang.String RENDER_DIRECT_LOCATION
          Key for session attribute indicating the location of the render direct action.
static java.lang.Integer RENDER_PHASE
          Constant used for the render phase ( Portlet.render(javax.portlet.RenderRequest, javax.portlet.RenderResponse))
static java.lang.String REQUEST
          Key used for looking up and storing the PortletRequest
static java.lang.String RESPONSE
          Key used for looking up and storing the PortletResponse
static java.lang.String STACK_FROM_EVENT_PHASE
          Session key where the value stack from the event phase is stored.
 

Field Detail

DEFAULT_ACTION_NAME

static final java.lang.String DEFAULT_ACTION_NAME
Default action name to use when no default action has been configured in the portlet init parameters.

See Also:
Constant Field Values

ACTION_PARAM

static final java.lang.String ACTION_PARAM
Action name parameter name

See Also:
Constant Field Values

MODE_PARAM

static final java.lang.String MODE_PARAM
Key for parameter holding the last executed portlet mode.

See Also:
Constant Field Values

PHASE

static final java.lang.String PHASE
Key used for looking up and storing the portlet phase

See Also:
Constant Field Values

RENDER_PHASE

static final java.lang.Integer RENDER_PHASE
Constant used for the render phase ( Portlet.render(javax.portlet.RenderRequest, javax.portlet.RenderResponse))


EVENT_PHASE

static final java.lang.Integer EVENT_PHASE
Constant used for the event phase ( Portlet.processAction(javax.portlet.ActionRequest, javax.portlet.ActionResponse))


REQUEST

static final java.lang.String REQUEST
Key used for looking up and storing the PortletRequest

See Also:
Constant Field Values

RESPONSE

static final java.lang.String RESPONSE
Key used for looking up and storing the PortletResponse

See Also:
Constant Field Values

EVENT_ACTION

static final java.lang.String EVENT_ACTION
Key used for looking up and storing the action that was invoked in the event phase.

See Also:
Constant Field Values

PORTLET_CONFIG

static final java.lang.String PORTLET_CONFIG
Key used for looking up and storing the PortletConfig

See Also:
Constant Field Values

ERROR_ACTION

static final java.lang.String ERROR_ACTION
Name of the action used as error handler

See Also:
Constant Field Values

PORTLET_NAMESPACE

static final java.lang.String PORTLET_NAMESPACE
Key for the portlet namespace stored in the PortletActionContext.

See Also:
Constant Field Values

MODE_NAMESPACE_MAP

static final java.lang.String MODE_NAMESPACE_MAP
Key for the mode-to-namespace map stored in the PortletActionContext.

See Also:
Constant Field Values

DEFAULT_ACTION_FOR_MODE

static final java.lang.String DEFAULT_ACTION_FOR_MODE
Key for the default action name for the portlet, stored in the PortletActionContext.

See Also:
Constant Field Values

ACTION_RESET

static final java.lang.String ACTION_RESET
Key for request attribute indicating if the action has been reset.

See Also:
Constant Field Values

RENDER_DIRECT_LOCATION

static final java.lang.String RENDER_DIRECT_LOCATION
Key for session attribute indicating the location of the render direct action.

See Also:
Constant Field Values

DISPATCH_TO

static final java.lang.String DISPATCH_TO
Key for the dispatch instruction for the DispatcherServlet

See Also:
Constant Field Values

STACK_FROM_EVENT_PHASE

static final java.lang.String STACK_FROM_EVENT_PHASE
Session key where the value stack from the event phase is stored.

See Also:
Constant Field Values

DEFAULT_DISPATCHER_SERVLET_NAME

static final java.lang.String DEFAULT_DISPATCHER_SERVLET_NAME
Default name of dispatcher servlet in web.xml

See Also:
Constant Field Values

ACTION_MAPPING

static final java.lang.String ACTION_MAPPING
Key for the action mapping in the context

See Also:
Constant Field Values


Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.