public class KickstartLocaleEditAction extends BaseKickstartEditAction
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
TIMEZONE |
static java.lang.String |
TIMEZONE_OPTIONS |
static java.lang.String |
UPDATE_METHOD |
static java.lang.String |
USE_UTC |
Constructor and Description |
---|
KickstartLocaleEditAction() |
Modifier and Type | Method and Description |
---|---|
protected BaseKickstartCommand |
getCommand(RequestContext ctx) |
protected java.lang.String |
getSuccessKey() |
protected java.lang.Boolean |
isTimezoneValid(java.util.ArrayList validTimezones,
java.lang.String timezone)
Is the timezone valid (ie, in the list of valid timezones)
|
protected ValidatorError |
processFormValues(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.DynaActionForm form,
BaseKickstartCommand cmd)
Process the values from the form.
|
protected void |
setupFormValues(RequestContext ctx,
org.apache.struts.action.DynaActionForm form,
BaseKickstartCommand cmdIn)
Setup the form values and other attributes necessary for the
action to render.
|
execute, getSuccessForward
addGlobalMessage, addGlobalMessage, addMessage, createErrorMessage, createErrorMessageWithMultipleArgs, createLabelValueList, createMessage, createSuccessMessage, getStrutsDelegate, isSubmitted, l10n, localize, lv, lve, lvel10n, lvl10n, makeParamMap, saveMessages
addErrors, addMessages, execute, generateToken, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveMessages, saveToken, setLocale, setServlet
public static final java.lang.String TIMEZONE_OPTIONS
public static final java.lang.String TIMEZONE
public static final java.lang.String USE_UTC
public static final java.lang.String UPDATE_METHOD
protected void setupFormValues(RequestContext ctx, org.apache.struts.action.DynaActionForm form, BaseKickstartCommand cmdIn)
setupFormValues
in class BaseKickstartEditAction
ctx
- the RequestContextform
- the DynaActionForm to processcmdIn
- the command to executeprotected ValidatorError processFormValues(javax.servlet.http.HttpServletRequest request, org.apache.struts.action.DynaActionForm form, BaseKickstartCommand cmd)
processFormValues
in class BaseKickstartEditAction
request
- the HttpServletRequestform
- to processcmd
- to executeprotected java.lang.String getSuccessKey()
getSuccessKey
in class BaseKickstartEditAction
protected BaseKickstartCommand getCommand(RequestContext ctx)
getCommand
in class BaseKickstartEditAction
protected java.lang.Boolean isTimezoneValid(java.util.ArrayList validTimezones, java.lang.String timezone)
validTimezones
- list of timezonestimezone
- the timezone to check for validity