public abstract class ListUIBean extends UIBean
DoubleListUIBean is the standard superclass of all Struts list handling components.
Note that the listkey and listvalue attribute will default to "key" and "value" respectively only when the list attribute is evaluated to a Map or its descendant. Everything else will result in listkey and listvalue to be null and not used.
Modifier and Type | Field and Description |
---|---|
protected Object |
list |
protected String |
listCssClass |
protected String |
listCssStyle |
protected String |
listKey |
protected String |
listLabelKey |
protected String |
listTitle |
protected String |
listValue |
protected String |
listValueKey |
protected boolean |
throwExceptionOnNullValueAttribute |
accesskey, cssClass, cssErrorClass, cssErrorStyle, cssStyle, defaultTemplateDir, defaultUITheme, disabled, dynamicAttributes, errorPosition, id, javascriptTooltip, key, label, labelPosition, labelSeparator, name, onblur, onchange, onclick, ondblclick, onfocus, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup, onselect, request, requiredLabel, requiredPosition, response, tabindex, template, templateDir, templateEngineManager, templateSuffix, theme, title, tooltip, tooltipConfig, tooltipCssClass, tooltipDelay, tooltipIconPath, uiThemeExpansionToken, value
actionMapper, COMPONENT_STACK, devMode, parameters, stack, standardAttributesMap, throwExceptionOnELFailure
Modifier | Constructor and Description |
---|---|
protected |
ListUIBean(ValueStack stack,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
Modifier and Type | Method and Description |
---|---|
boolean |
contains(Object obj1,
Object obj2) |
void |
evaluateExtraParams() |
protected Class |
getValueClassType() |
void |
setList(Object list) |
void |
setListCssClass(String listCssClass) |
void |
setListCssStyle(String listCssStyle) |
void |
setListKey(String listKey) |
void |
setListLabelKey(String listLabelKey) |
void |
setListTitle(String listTitle) |
void |
setListValue(String listValue) |
void |
setListValueKey(String listValueKey) |
void |
setThrowExceptionOnNullValueAttribute(boolean throwExceptionOnNullValueAttribute) |
addFormParameter, buildTemplateName, copyParams, enableAncestorFormCustomOnsubmit, end, ensureAttributeSafelyNotEscaped, escape, evaluateNameValue, evaluateParams, getDefaultTemplate, getId, getTemplate, getTemplateDir, getTheme, getTooltipConfig, mergeTemplate, populateComponentHtmlId, setAccesskey, setClass, setCssClass, setCssErrorClass, setCssErrorStyle, setCssStyle, setDefaultTemplateDir, setDefaultUITheme, setDisabled, setDynamicAttributes, setErrorPosition, setId, setJavascriptTooltip, setKey, setLabel, setLabelposition, setLabelSeparator, setName, setOnblur, setOnchange, setOnclick, setOndblclick, setOnfocus, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setOnselect, setRequiredLabel, setRequiredPosition, setStyle, setTabindex, setTemplate, setTemplateDir, setTemplateEngineManager, setTheme, setTitle, setTooltip, setTooltipConfig, setTooltipCssClass, setTooltipDelay, setTooltipIconPath, setUIThemeExpansionToken, setValue
addAllParameters, addParameter, altSyntax, completeExpressionIfAltSyntax, determineActionURL, determineNamespace, end, escapeHtmlBody, fieldError, findAncestor, findString, findString, findStringIfAltSyntax, findValue, findValue, findValue, getComponentStack, getParameters, getStack, getStandardAttributes, isValidTagAttribute, popComponentStack, setActionMapper, setDevMode, setThrowExceptionsOnELFailure, setUrlHelper, start, stripExpressionIfAltSyntax, toString, usesBody
protected Object list
protected String listKey
protected String listValueKey
protected String listValue
protected String listLabelKey
protected String listCssClass
protected String listCssStyle
protected String listTitle
protected boolean throwExceptionOnNullValueAttribute
protected ListUIBean(ValueStack stack, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
public void evaluateExtraParams()
evaluateExtraParams
in class UIBean
protected Class getValueClassType()
getValueClassType
in class UIBean
public void setList(Object list)
public void setListKey(String listKey)
public void setListValueKey(String listValueKey)
public void setListValue(String listValue)
public void setListLabelKey(String listLabelKey)
public void setListCssClass(String listCssClass)
public void setListCssStyle(String listCssStyle)
public void setListTitle(String listTitle)
public void setThrowExceptionOnNullValueAttribute(boolean throwExceptionOnNullValueAttribute)
Copyright © 2000–2020 Apache Software Foundation. All rights reserved.