Class SelectInput

All Implemented Interfaces:
org.apache.commons.chain.Command<ActionContext>, ActionCommand

public class SelectInput extends AbstractSelectInput

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) $
  • Constructor Details

    • SelectInput

      public SelectInput()
  • Method Details

    • forward

      protected ForwardConfig forward(ActionContext context, ModuleConfig moduleConfig, String uri)

      Create and return a ForwardConfig representing the specified module-relative destination.

      Specified by:
      forward in class AbstractSelectInput
      Parameters:
      context - The context for this request
      moduleConfig - The ModuleConfig for this request
      uri - The module-relative URI to be the destination
      Returns:
      ForwardConfig representing destination
    • getErrorMessage

      protected String getErrorMessage(ActionContext context, ActionConfig actionConfig)
      Description copied from class: AbstractSelectInput

      Retrieve error message from context.

      Specified by:
      getErrorMessage in class AbstractSelectInput
      Parameters:
      context - The Context for the current request
      actionConfig - The current action mapping
      Returns:
      error message