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:
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ForwardConfigforward(ActionContext context, ModuleConfig moduleConfig, String uri) Create and return aForwardConfigrepresenting the specified module-relative destination.protected StringgetErrorMessage(ActionContext context, ActionConfig actionConfig) Retrieve error message from context.Methods inherited from class org.apache.struts.chain.commands.AbstractSelectInput
execute_, inputForwardMethods inherited from class org.apache.struts.chain.commands.ActionCommandBase
execute
-
Constructor Details
-
SelectInput
public SelectInput()
-
-
Method Details
-
forward
Create and return a
ForwardConfigrepresenting the specified module-relative destination.- Specified by:
forwardin classAbstractSelectInput- Parameters:
context- The context for this requestmoduleConfig- TheModuleConfigfor this requesturi- The module-relative URI to be the destination- Returns:
- ForwardConfig representing destination
-
getErrorMessage
Description copied from class:AbstractSelectInputRetrieve error message from context.
- Specified by:
getErrorMessagein classAbstractSelectInput- Parameters:
context- TheContextfor the current requestactionConfig- The current action mapping- Returns:
- error message
-