Class AbstractSelectLocale

java.lang.Object
org.apache.struts.chain.commands.ActionCommandBase
org.apache.struts.chain.commands.AbstractSelectLocale
All Implemented Interfaces:
org.apache.commons.chain.Command<ActionContext>, ActionCommand
Direct Known Subclasses:
SelectLocale

public abstract class AbstractSelectLocale extends ActionCommandBase

Select the Locale to be used for this request.

Version:
$Rev$ $Date: 2005-11-12 13:01:44 -0500 (Sat, 12 Nov 2005) $
  • Constructor Details

    • AbstractSelectLocale

      public AbstractSelectLocale()
  • Method Details

    • execute_

      protected boolean execute_(ActionContext actionCtx) throws Exception

      Select the Locale to be used for this request.

      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
    • getLocale

      protected abstract Locale getLocale(ActionContext context)

      Return the Locale to be used for this request.

      Parameters:
      context - The Context for this request
      Returns:
      The Locale to be used for this request