org.jaffa.presentation.portlet
Class StartComponentAction

java.lang.Object
  extended byorg.apache.struts.action.Action
      extended byorg.jaffa.presentation.portlet.ActionBase
          extended byorg.jaffa.presentation.portlet.StartComponentAction

public class StartComponentAction
extends ActionBase

This Action invokes the component passed in the request-stream The internal parameters that can be passed are component -> The name of the component to execute finalUrl -> The place to go after executing the component. This should be a valid forward mapping as defined in the struts-config.xml file. All other paramters will be introspected on the component being executed, prior to calling its 'display()' method.


Field Summary
static String COMPONENT_PARAMETER
          Constant to denote the 'component' parameter passed to this Action.
static String FINALURL_PARAMETER
          Constant to denote the 'finalUrl' parameter passed to this Action.
 
Fields inherited from class org.jaffa.presentation.portlet.ActionBase
component, form, mapping, request, response
 
Fields inherited from class org.apache.struts.action.Action
ACTION_SERVLET_KEY, APPLICATION_KEY, DATA_SOURCE_KEY, defaultLocale, ERROR_KEY, EXCEPTION_KEY, FORM_BEANS_KEY, FORWARDS_KEY, LOCALE_KEY, MAPPING_KEY, MAPPINGS_KEY, MESSAGE_KEY, MESSAGES_KEY, MULTIPART_KEY, PLUG_INS_KEY, REQUEST_PROCESSOR_KEY, servlet, SERVLET_KEY, TRANSACTION_TOKEN_KEY
 
Constructor Summary
StartComponentAction()
           
 
Method Summary
 FormKey defaultAction()
          Invokes the component passed in the request stream.
 
Methods inherited from class org.jaffa.presentation.portlet.ActionBase
determineCurrentFormKey, do_HistoryNav_Clicked, do_refresh, execute, executeEvent, handleNullFormKey, isTokenValid, isTokenValid, parseFormName, performTokenValidation, processContainerFormKey, resetToken, saveToken
 
Methods inherited from class org.apache.struts.action.Action
execute, generateToken, getDataSource, getDataSource, getLocale, getResources, getResources, getResources, getServlet, isCancelled, perform, perform, saveErrors, saveMessages, saveToken, setLocale, setServlet, toHex
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COMPONENT_PARAMETER

public static final String COMPONENT_PARAMETER
Constant to denote the 'component' parameter passed to this Action.

See Also:
Constant Field Values

FINALURL_PARAMETER

public static final String FINALURL_PARAMETER
Constant to denote the 'finalUrl' parameter passed to this Action.

See Also:
Constant Field Values
Constructor Detail

StartComponentAction

public StartComponentAction()
Method Detail

defaultAction

public FormKey defaultAction()
                      throws Exception
Invokes the component passed in the request stream.

Overrides:
defaultAction in class ActionBase
Returns:
A FormKey instance which describes the current Component & Form
Throws:
Exception - if the application business logic throws an exception


Copyright © 2002-2004 JAFFA Project.