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
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
execute_
(ActionContext actionCtx) Select theLocale
to be used for this request.protected abstract Locale
getLocale
(ActionContext context) Return theLocale
to 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
Locale
to be used for this request.- Specified by:
execute_
in classActionCommandBase
- Parameters:
actionCtx
- TheContext
for the current request- Returns:
false
so that processing continues- Throws:
Exception
- if thrown by the Action class
-
getLocale
Return the
Locale
to be used for this request.- Parameters:
context
- TheContext
for this request- Returns:
- The Locale to be used for this request
-