public abstract class AbstractSelectLocale extends ActionCommandBase
Select the Locale
to be used for this request.
Constructor and Description |
---|
AbstractSelectLocale() |
Modifier and Type | Method and Description |
---|---|
boolean |
execute(ActionContext actionCtx)
Select the
Locale to be used for this request. |
protected abstract Locale |
getLocale(ActionContext context)
Return the
Locale to be used for this request. |
execute
public boolean execute(ActionContext actionCtx) throws Exception
Select the Locale
to be used for this request.
execute
in interface ActionCommand
execute
in class ActionCommandBase
actionCtx
- The Context
for the current requestfalse
so that processing continuesException
- if thrown by the Action classprotected abstract Locale getLocale(ActionContext context)
Return the Locale
to be used for this request.
context
- The Context
for this requestCopyright © 2000–2016 Apache Software Foundation. All rights reserved.