|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.struts.chain.AbstractSelectInput
Select and cache a ForwardConfig
that returns us to the
input page for the current action, if any.
Field Summary | |
private java.lang.String |
actionConfigKey
|
private java.lang.String |
forwardConfigKey
|
private static org.apache.commons.logging.Log |
log
|
private java.lang.String |
validKey
|
Constructor Summary | |
AbstractSelectInput()
|
Method Summary | |
boolean |
execute(org.apache.commons.chain.Context context)
Select and cache a ForwardConfig for the input page
for the current request. |
protected abstract org.apache.struts.config.ForwardConfig |
forward(org.apache.commons.chain.Context context,
org.apache.struts.config.ModuleConfig moduleConfig,
java.lang.String uri)
Create and return a ForwardConfig representing the
specified module-relative destination. |
java.lang.String |
getActionConfigKey()
Return the context attribute key under which the ActionConfig for the currently selected application
action is stored. |
java.lang.String |
getForwardConfigKey()
Return the context attribute key under which the ForwardConfig for the currently selected application
action is stored. |
java.lang.String |
getValidKey()
Return the context attribute key under which the validity flag for this request 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 |
setForwardConfigKey(java.lang.String forwardConfigKey)
Set the context attribute key under which the ForwardConfig for the currently selected application
action is stored. |
void |
setValidKey(java.lang.String validKey)
Set the context attribute key under which the validity flag for this request is stored. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private java.lang.String actionConfigKey
private java.lang.String forwardConfigKey
private java.lang.String validKey
private static final org.apache.commons.logging.Log log
Constructor Detail |
public AbstractSelectInput()
Method Detail |
public java.lang.String getActionConfigKey()
Return the context attribute key under which the
ActionConfig
for the currently selected application
action is stored.
public void setActionConfigKey(java.lang.String actionConfigKey)
Set the context attribute key under which the
ActionConfig
for the currently selected application
action is stored.
actionConfigKey
- The new context attribute keypublic java.lang.String getForwardConfigKey()
Return the context attribute key under which the
ForwardConfig
for the currently selected application
action is stored.
public void setForwardConfigKey(java.lang.String forwardConfigKey)
Set the context attribute key under which the
ForwardConfig
for the currently selected application
action is stored.
forwardConfigKey
- The new context attribute keypublic java.lang.String getValidKey()
Return the context attribute key under which the validity flag for this request is stored.
public void setValidKey(java.lang.String validKey)
Set the context attribute key under which the validity flag for this request is stored.
validKey
- The new context attribute keypublic boolean execute(org.apache.commons.chain.Context context) throws java.lang.Exception
Select and cache a ForwardConfig
for the input page
for the current request.
execute
in interface org.apache.commons.chain.Command
context
- The Context
for the current request
false
so that processing continues
java.lang.Exception
protected abstract org.apache.struts.config.ForwardConfig forward(org.apache.commons.chain.Context context, org.apache.struts.config.ModuleConfig moduleConfig, java.lang.String uri)
Create and return a ForwardConfig
representing the
specified module-relative destination.
context
- The context for this requestmoduleConfig
- The ModuleConfig
for this requesturi
- The module-relative URI to be the destination
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |