public abstract class BaseTreeAction extends BaseEditAction
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
BASE_PATH |
static java.lang.String |
CHANNEL_ID |
static java.lang.String |
CHANNELS |
static java.lang.String |
HIDE_SUBMIT |
static java.lang.String |
INSTALL_TYPE |
static java.lang.String |
INSTALLTYPES |
static java.lang.String |
KERNEL_OPTS |
static java.lang.String |
LABEL |
static java.lang.String |
NOCHANNELS |
static java.lang.String |
NOINSTALLTYPES |
static java.lang.String |
POST_KERNEL_OPTS |
REFRESH
Constructor and Description |
---|
BaseTreeAction() |
Modifier and Type | Method and Description |
---|---|
protected Channel |
getSelectedBaseChannel(RequestContext rctx)
Return the selected base channel, either the existing value for a
channel being edited, the previous selection on the form after an
error, or the first value in the list.
|
protected ValidatorError |
processCommandSetters(PersistOperation operation,
org.apache.struts.action.DynaActionForm form,
javax.servlet.http.HttpServletRequest request)
Call the setters on the PersistOperation in order to setup the
object for storage.
|
protected void |
processRequestAttributes(RequestContext rctx,
PersistOperation opr)
Add attributes to the request.
|
execute, getCommand, getSuccessKey, processFormValues
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 INSTALL_TYPE
public static final java.lang.String BASE_PATH
public static final java.lang.String CHANNEL_ID
public static final java.lang.String CHANNELS
public static final java.lang.String INSTALLTYPES
public static final java.lang.String LABEL
public static final java.lang.String NOCHANNELS
public static final java.lang.String NOINSTALLTYPES
public static final java.lang.String HIDE_SUBMIT
public static final java.lang.String KERNEL_OPTS
public static final java.lang.String POST_KERNEL_OPTS
protected void processRequestAttributes(RequestContext rctx, PersistOperation opr)
BaseEditAction
processRequestAttributes
in class BaseEditAction
rctx
- the context of the current requestopr
- the persist operationprotected ValidatorError processCommandSetters(PersistOperation operation, org.apache.struts.action.DynaActionForm form, javax.servlet.http.HttpServletRequest request)
BaseEditAction
processCommandSetters
in class BaseEditAction
operation
- to process setters on.form
- web form containing valuesrequest
- the http servlet requestprotected Channel getSelectedBaseChannel(RequestContext rctx)
rctx
- Request context to examine.