Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.struts.chain.commands
Class AbstractSelectInput

    java.lang.Object
      org.apache.struts.chain.commands.ActionCommandBase
          org.apache.struts.chain.commands.AbstractSelectInput

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

Direct Known Subclasses:
  SelectInput

    public abstract class AbstractSelectInput

extends ActionCommandBase

Select and cache a `ForwardConfig` that returns us to the input page for the current action, if any.

Version:
  $Rev: 471754 $ $Date: 2005-06-04 10:58:46 -0400 (Sat, 04 Jun 2005) $

Field Summary

Fields inherited from interface org.apache.commons.chain.Command
`CONTINUE_PROCESSING, PROCESSING_COMPLETE`

Constructor Summary
`AbstractSelectInput()`

Method Summary
`boolean` | `execute(ActionContext actionCtx)` Select and cache a `ForwardConfig` for the input page for the current request.
`protected abstract ForwardConfig` | `forward(ActionContext context, ModuleConfig moduleConfig, String uri)` Create and return a `ForwardConfig` representing the specified module-relative destination.

Methods inherited from class org.apache.struts.chain.commands.ActionCommandBase
`execute`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### AbstractSelectInput

    public AbstractSelectInput()

Method Detail

### execute

    public boolean execute(ActionContext actionCtx)
                    throws Exception

  Select and cache a `ForwardConfig` for the input page for the current request.

  Specified by:
    `execute` in interface `ActionCommand`
  Specified by:
    `execute` in class `ActionCommandBase`
  Parameters:
    `actionCtx` - The `Context` for the current request
  Returns:
    `false` so that processing continues
  Throws:
    `Exception` - if thrown by the Action class

### forward

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

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

  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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.