public class ActionChainHelper
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
EXISTING_ACTION_CHAINS_PROPERTY_NAME
Name of the parameter for existing Action Chains data field.
|
static java.lang.String |
LABEL_PROPERTY_NAME
Name of the form field for the Action Chain label.
|
Modifier and Type | Method and Description |
---|---|
static void |
prepopulateActionChains(javax.servlet.http.HttpServletRequest request)
Adds parameters needed to display action chains in schedule-options.jspf
to request.
|
static ActionChain |
readActionChain(org.apache.struts.action.DynaActionForm form,
User user)
Looks in the form contents and returns a (new or existing) ActionChain iff
user has selected one in schedule-options.jspf.
|
static java.lang.String |
sanitizeLabel(java.lang.String label)
Removes illegal characters from an Action Chain label string.
|
public static final java.lang.String LABEL_PROPERTY_NAME
public static final java.lang.String EXISTING_ACTION_CHAINS_PROPERTY_NAME
public static ActionChain readActionChain(org.apache.struts.action.DynaActionForm form, User user)
form
- the form objectuser
- the userpublic static void prepopulateActionChains(javax.servlet.http.HttpServletRequest request)
request
- the requestpublic static java.lang.String sanitizeLabel(java.lang.String label)
label
- the label