org.apache.struts.chain
Class CreateActionForm

java.lang.Object
  extended byorg.apache.struts.chain.CreateActionForm
All Implemented Interfaces:
org.apache.commons.chain.Command

public class CreateActionForm
extends java.lang.Object
implements org.apache.commons.chain.Command

Create (if necessary) and cache a form bean for this request.

Version:
$Rev: 54933 $ $Date: 2004-10-16 18:04:52 +0100 (Sat, 16 Oct 2004) $
Author:
Craig R. McClanahan

Field Summary
private  java.lang.String actionConfigKey
           
private  java.lang.String actionFormKey
           
private  java.lang.String actionServletKey
           
private static org.apache.commons.logging.Log log
           
private  java.lang.String moduleConfigKey
           
 
Constructor Summary
CreateActionForm()
           
 
Method Summary
 boolean execute(org.apache.commons.chain.Context context)
          Create (if necessary) and cache a form bean for this request.
 java.lang.String getActionConfigKey()
          Return the context attribute key under which the ActionConfig for the currently selected application action is stored.
 java.lang.String getActionFormKey()
          Return the context attribute key under which the ActionForm for the currently selected application action is stored.
 java.lang.String getActionServletKey()
          Return the context attribute key under which the ActionServlet for the currently selected application action is stored.
 java.lang.String getModuleConfigKey()
          Return the context attribute key under which the ModuleConfig for the currently selected application module is stored.
 void setActionConfigKey(java.lang.String actionConfigKey)
          Set the context attribute key under which the ActionConfig for the currently selected application action is stored.
 void setActionFormKey(java.lang.String actionFormKey)
          Set the context attribute key under which the ActionForm for the currently selected application action is stored.
 void setActionServletKey(java.lang.String actionServletKey)
          Set the context attribute key under which the ActionServlet for the currently selected application action is stored.
 void setModuleConfigKey(java.lang.String moduleConfigKey)
          Set the context attribute key under which the ModuleConfig for the currently selected application module is stored.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

actionConfigKey

private java.lang.String actionConfigKey

actionFormKey

private java.lang.String actionFormKey

actionServletKey

private java.lang.String actionServletKey

moduleConfigKey

private java.lang.String moduleConfigKey

log

private static final org.apache.commons.logging.Log log
Constructor Detail

CreateActionForm

public CreateActionForm()
Method Detail

getActionConfigKey

public java.lang.String getActionConfigKey()

Return the context attribute key under which the ActionConfig for the currently selected application action is stored.


setActionConfigKey

public void setActionConfigKey(java.lang.String actionConfigKey)

Set the context attribute key under which the ActionConfig for the currently selected application action is stored.

Parameters:
actionConfigKey - The new context attribute key

getActionFormKey

public java.lang.String getActionFormKey()

Return the context attribute key under which the ActionForm for the currently selected application action is stored.


setActionFormKey

public void setActionFormKey(java.lang.String actionFormKey)

Set the context attribute key under which the ActionForm for the currently selected application action is stored.

Parameters:
actionFormKey - The new context attribute key

getActionServletKey

public java.lang.String getActionServletKey()

Return the context attribute key under which the ActionServlet for the currently selected application action is stored.


setActionServletKey

public void setActionServletKey(java.lang.String actionServletKey)

Set the context attribute key under which the ActionServlet for the currently selected application action is stored.

Parameters:
actionServletKey - The new context attribute key

getModuleConfigKey

public java.lang.String getModuleConfigKey()

Return the context attribute key under which the ModuleConfig for the currently selected application module is stored.


setModuleConfigKey

public void setModuleConfigKey(java.lang.String moduleConfigKey)

Set the context attribute key under which the ModuleConfig for the currently selected application module is stored.

Parameters:
moduleConfigKey - The new context attribute key

execute

public boolean execute(org.apache.commons.chain.Context context)
                throws java.lang.Exception

Create (if necessary) and cache a form bean for this request.

Specified by:
execute in interface org.apache.commons.chain.Command
Parameters:
context - The Context for the current request
Returns:
false so that processing continues
Throws:
java.lang.Exception


Copyright ? 2003 - Apache Software Foundation