public class InputTransferSelect extends ListUIBean
Create a input transfer select component which is basically an text input and <select ...> tag with buttons in the middle of them allowing text to be added to the transfer select. Will auto-select all its elements upon its containing form submission.
NOTE: The id and doubleId need not be supplied as they will generated provided that the inputtransferselect tag is being used in a form tag. The generated id and doubleId will be <form_id>_<inputtransferselect_doubleName> and <form_id>_<inputtransferselect_doubleName> respectively.
<-- minimum configuration --> <s:inputtransferselect label="Favourite Cartoons Characters" name="cartoons" list="{'Popeye', 'He-Man', 'Spiderman'}" />
Modifier and Type | Field and Description |
---|---|
protected String |
addLabel |
protected String |
allowRemoveAll |
protected String |
allowUpDown |
protected String |
buttonCssClass |
protected String |
buttonCssStyle |
protected String |
downLabel |
protected String |
headerKey |
protected String |
headerValue |
protected String |
leftTitle |
protected String |
multiple |
protected String |
removeAllLabel |
protected String |
removeLabel |
protected String |
rightTitle |
protected String |
size |
protected String |
upLabel |
list, listCssClass, listCssStyle, listKey, listLabelKey, listTitle, listValue, listValueKey, throwExceptionOnNullValueAttribute
accesskey, ATTR_FIELD_VALUE, ATTR_NAME_VALUE, ATTR_VALUE, 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, uiStaticContentPath, uiThemeExpansionToken, value
actionMapper, attributes, COMPONENT_STACK, devMode, escapeHtmlBody, performClearTagStateForTagPoolingServers, stack, standardAttributesMap, throwExceptionOnELFailure
Constructor and Description |
---|
InputTransferSelect(ValueStack stack,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
contains, getValueClassType, setList, setListCssClass, setListCssStyle, setListKey, setListLabelKey, setListTitle, setListValue, setListValueKey, setThrowExceptionOnNullValueAttribute
addFormParameter, applyValueParameter, buildTemplateName, copyParams, enableAncestorFormCustomOnsubmit, end, ensureAttributeSafelyNotEscaped, escape, evaluateNameValue, evaluateParams, getId, getTemplate, getTemplateDir, getTheme, getTooltipConfig, lazyEvaluation, mergeTemplate, populateComponentHtmlId, setAccesskey, 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, setStaticContentPath, setStyle, setTabindex, setTemplate, setTemplateDir, setTemplateEngineManager, setTheme, setTitle, setTooltip, setTooltipConfig, setTooltipCssClass, setTooltipDelay, setTooltipIconPath, setUIThemeExpansionToken, setValue
addAllParameters, addParameter, completeExpression, determineActionURL, determineNamespace, end, escapeHtmlBody, fieldError, findAncestor, findString, findString, findValue, findValue, findValue, getAttributes, getComponentStack, getNamespace, getParameters, getPerformClearTagStateForTagPoolingServers, getStack, getStandardAttributes, isAcceptableExpression, isValidTagAttribute, popComponentStack, setActionMapper, setDevMode, setEscapeHtmlBody, setNotExcludedAcceptedPatterns, setPerformClearTagStateForTagPoolingServers, setThrowExceptionsOnELFailure, setUrlHelper, start, stripExpression, toString, usesBody
protected String size
protected String multiple
protected String allowRemoveAll
protected String allowUpDown
protected String leftTitle
protected String rightTitle
protected String buttonCssClass
protected String buttonCssStyle
protected String addLabel
protected String removeLabel
protected String removeAllLabel
protected String upLabel
protected String downLabel
protected String headerKey
protected String headerValue
public InputTransferSelect(ValueStack stack, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
protected String getDefaultTemplate()
UIBean
getDefaultTemplate
in class UIBean
public void evaluateExtraParams()
evaluateExtraParams
in class ListUIBean
public String getSize()
public void setSize(String size)
public String getMultiple()
public void setMultiple(String multiple)
public String getAllowRemoveAll()
public void setAllowRemoveAll(String allowRemoveAll)
public String getAllowUpDown()
public void setAllowUpDown(String allowUpDown)
public String getLeftTitle()
public void setLeftTitle(String leftTitle)
public String getRightTitle()
public void setRightTitle(String rightTitle)
public String getButtonCssClass()
public void setButtonCssClass(String buttonCssClass)
public String getButtonCssStyle()
public void setButtonCssStyle(String buttonCssStyle)
public String getAddLabel()
public void setAddLabel(String addLabel)
public String getRemoveLabel()
public void setRemoveLabel(String removeLabel)
public String getRemoveAllLabel()
public void setRemoveAllLabel(String removeAllLabel)
public String getUpLabel()
public void setUpLabel(String upLabel)
public String getDownLabel()
public void setDownLabel(String downLabel)
public String getHeaderKey()
public void setHeaderKey(String headerKey)
public String getHeaderValue()
public void setHeaderValue(String headerValue)
Copyright © 2000–2024 Apache Software Foundation. All rights reserved.