public class GeneralConfigAction extends BaseConfigAction
Modifier and Type | Field and Description |
---|---|
static java.util.List |
ALLOWED_CONFIGS
List of Config keys allowed by this Action
|
Constructor and Description |
---|
GeneralConfigAction() |
Modifier and Type | Method and Description |
---|---|
org.apache.struts.action.ActionForward |
execute(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm formIn,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected java.lang.String |
getCommandClassName()
Subclasses implement this to indicate the name of the class to
use when fetching the Command instance
|
static java.lang.String |
translateFormPropertyName(java.lang.String configKey)
Key munging method to replace the DOTs in the key with |'s
This is because Struts will attempt to turn any form property
that contains dot notation into a bean and then use BeanUtils
to inquire about properties of that bean.
|
getCommand
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.util.List ALLOWED_CONFIGS
public org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm formIn, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
execute
in class org.apache.struts.action.Action
public static java.lang.String translateFormPropertyName(java.lang.String configKey)
configKey
- to replace periods with barsprotected java.lang.String getCommandClassName()
getCommandClassName
in class BaseConfigAction