Package org.apache.struts.chain.commands
Class AbstractSelectLocale
java.lang.Object
org.apache.struts.chain.commands.ActionCommandBase
org.apache.struts.chain.commands.AbstractSelectLocale
- All Implemented Interfaces:
Command<ActionContext>,ActionCommand
- Direct Known Subclasses:
SelectLocale
Select the Locale to be used for this request.
- Version:
- $Rev$ $Date: 2005-11-12 13:01:44 -0500 (Sat, 12 Nov 2005) $
-
Field Summary
Fields inherited from interface org.apache.commons.chain.Command
CONTINUE_PROCESSING, PROCESSING_COMPLETE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanexecute_(ActionContext actionCtx) Select theLocaleto be used for this request.protected abstract LocalegetLocale(ActionContext context) Return theLocaleto be used for this request.Methods inherited from class org.apache.struts.chain.commands.ActionCommandBase
execute
-
Constructor Details
-
AbstractSelectLocale
public AbstractSelectLocale()
-
-
Method Details
-
execute_
Select the
Localeto be used for this request.- Specified by:
execute_in classActionCommandBase- Parameters:
actionCtx- TheContextfor the current request- Returns:
falseso that processing continues- Throws:
Exception- if thrown by the Action class
-
getLocale
Return the
Localeto be used for this request.- Parameters:
context- TheContextfor this request- Returns:
- The Locale to be used for this request
-