Class SelectInput
java.lang.Object
org.apache.struts.chain.commands.ActionCommandBase
org.apache.struts.chain.commands.AbstractSelectInput
org.apache.struts.chain.commands.servlet.SelectInput
- All Implemented Interfaces:
org.apache.commons.chain.Command<ActionContext>
,ActionCommand
Validate the properties of the form bean for this request. If there are any validation errors, execute the child commands in our chain; otherwise, proceed normally.
- Version:
- $Rev$ $Date: 2005-05-07 12:11:38 -0400 (Sat, 07 May 2005) $
-
Field Summary
Fields inherited from interface org.apache.commons.chain.Command
CONTINUE_PROCESSING, PROCESSING_COMPLETE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected ForwardConfig
forward
(ActionContext context, ModuleConfig moduleConfig, String uri) Create and return aForwardConfig
representing the specified module-relative destination.protected String
getErrorMessage
(ActionContext context, ActionConfig actionConfig) Retrieve error message from context.Methods inherited from class org.apache.struts.chain.commands.AbstractSelectInput
execute_, inputForward
Methods inherited from class org.apache.struts.chain.commands.ActionCommandBase
execute
-
Constructor Details
-
SelectInput
public SelectInput()
-
-
Method Details
-
forward
Create and return a
ForwardConfig
representing the specified module-relative destination.- Specified by:
forward
in classAbstractSelectInput
- Parameters:
context
- The context for this requestmoduleConfig
- TheModuleConfig
for this requesturi
- The module-relative URI to be the destination- Returns:
- ForwardConfig representing destination
-
getErrorMessage
Description copied from class:AbstractSelectInput
Retrieve error message from context.
- Specified by:
getErrorMessage
in classAbstractSelectInput
- Parameters:
context
- TheContext
for the current requestactionConfig
- The current action mapping- Returns:
- error message
-