public class OptionTransferSelectTag extends AbstractDoubleListTag
Modifier and Type | Field and Description |
---|---|
protected String |
addAllToLeftLabel |
protected String |
addAllToLeftOnclick |
protected String |
addAllToRightLabel |
protected String |
addAllToRightOnclick |
protected String |
addToLeftLabel |
protected String |
addToLeftOnclick |
protected String |
addToRightLabel |
protected String |
addToRightOnclick |
protected String |
allowAddAllToLeft |
protected String |
allowAddAllToRight |
protected String |
allowAddToLeft |
protected String |
allowAddToRight |
protected String |
allowSelectAll |
protected String |
allowUpDownOnLeft |
protected String |
allowUpDownOnRight |
protected String |
buttonCssClass |
protected String |
buttonCssStyle |
protected String |
leftDownLabel |
protected String |
leftTitle |
protected String |
leftUpLabel |
protected String |
rightDownLabel |
protected String |
rightTitle |
protected String |
rightUpLabel |
protected String |
selectAllLabel |
protected String |
selectAllOnclick |
protected String |
upDownOnLeftOnclick |
protected String |
upDownOnRightOnclick |
doubleAccesskey, doubleCssClass, doubleCssStyle, doubleDisabled, doubleEmptyOption, doubleHeaderKey, doubleHeaderValue, doubleId, doubleList, doubleListCssClass, doubleListCssStyle, doubleListKey, doubleListTitle, doubleListValue, doubleMultiple, doubleName, doubleOnblur, doubleOnchange, doubleOnclick, doubleOndblclick, doubleOnfocus, doubleOnkeydown, doubleOnkeypress, doubleOnkeyup, doubleOnmousedown, doubleOnmousemove, doubleOnmouseout, doubleOnmouseover, doubleOnmouseup, doubleOnselect, doubleSize, doubleValue, emptyOption, formName, headerKey, headerValue, multiple, size
list, listCssClass, listCssStyle, listKey, listLabelKey, listTitle, listValue, listValueKey
accesskey, cssClass, cssErrorClass, cssErrorStyle, cssStyle, disabled, dynamicAttributes, errorPosition, id, javascriptTooltip, key, label, labelPosition, labelSeparator, name, onblur, onchange, onclick, ondblclick, onfocus, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup, onselect, requiredLabel, requiredPosition, tabindex, template, templateDir, theme, title, tooltip, tooltipConfig, tooltipCssClass, tooltipDelay, tooltipIconPath, value
component
Constructor and Description |
---|
OptionTransferSelectTag() |
getDoubleCssClass, getDoubleCssStyle, getDoubleDisabled, getDoubleEmptyOption, getDoubleHeaderKey, getDoubleHeaderValue, getDoubleId, getDoubleList, getDoubleListKey, getDoubleListValue, getDoubleMultiple, getDoubleName, getDoubleOnblur, getDoubleOnchange, getDoubleOnclick, getDoubleOndblclick, getDoubleOnfocus, getDoubleOnkeydown, getDoubleOnkeypress, getDoubleOnkeyup, getDoubleOnmousedown, getDoubleOnmousemove, getDoubleOnmouseout, getDoubleOnmouseover, getDoubleOnmouseup, getDoubleOnselect, getDoubleSize, getDoubleValue, getFormName, setDoubleAccesskey, setDoubleCssClass, setDoubleCssStyle, setDoubleDisabled, setDoubleEmptyOption, setDoubleHeaderKey, setDoubleHeaderValue, setDoubleId, setDoubleList, setDoubleListCssClass, setDoubleListCssStyle, setDoubleListKey, setDoubleListTitle, setDoubleListValue, setDoubleMultiple, setDoubleName, setDoubleOnblur, setDoubleOnchange, setDoubleOnclick, setDoubleOndblclick, setDoubleOnfocus, setDoubleOnkeydown, setDoubleOnkeypress, setDoubleOnkeyup, setDoubleOnmousedown, setDoubleOnmousemove, setDoubleOnmouseout, setDoubleOnmouseover, setDoubleOnmouseup, setDoubleOnselect, setDoubleSize, setDoubleValue, setEmptyOption, setFormName, setHeaderKey, setHeaderValue, setMultiple, setSize
setList, setListCssClass, setListCssStyle, setListKey, setListLabelKey, setListTitle, setListValue, setListValueKey
setAccesskey, setClass, setCssClass, setCssErrorClass, setCssErrorStyle, setCssStyle, setDisabled, setDynamicAttribute, 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, setTheme, setTitle, setTooltip, setTooltipConfig, setTooltipCssClass, setTooltipDelay, setTooltipIconPath, setValue
doEndTag, doStartTag, getComponent, populatePerformClearTagStateForTagPoolingServersParam
findString, findValue, findValue, getBody, getPerformClearTagStateForTagPoolingServers, getStack, release, toString
doAfterBody, doInitBody, getBodyContent, getPreviousOut, setBodyContent
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setPageContext, setParent, setValue
protected String allowAddToLeft
protected String allowAddToRight
protected String allowAddAllToLeft
protected String allowAddAllToRight
protected String allowSelectAll
protected String allowUpDownOnLeft
protected String allowUpDownOnRight
protected String leftTitle
protected String rightTitle
protected String buttonCssClass
protected String buttonCssStyle
protected String addToLeftLabel
protected String addToRightLabel
protected String addAllToLeftLabel
protected String addAllToRightLabel
protected String selectAllLabel
protected String leftUpLabel
protected String leftDownLabel
protected String rightUpLabel
protected String rightDownLabel
protected String addToLeftOnclick
protected String addToRightOnclick
protected String addAllToLeftOnclick
protected String addAllToRightOnclick
protected String selectAllOnclick
protected String upDownOnLeftOnclick
protected String upDownOnRightOnclick
public Component getBean(ValueStack stack, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
getBean
in class ComponentTagSupport
protected void populateParams()
ComponentTagSupport
Descendants should override this method for custom behaviour, but should always call the ancestor method when doing so.
populateParams
in class AbstractDoubleListTag
public String getAddAllToLeftLabel()
public void setAddAllToLeftLabel(String addAllToLeftLabel)
public String getAddAllToRightLabel()
public void setAddAllToRightLabel(String addAllToRightLabel)
public String getAddToLeftLabel()
public void setAddToLeftLabel(String addToLeftLabel)
public String getAddToRightLabel()
public void setAddToRightLabel(String addToRightLabel)
public String getAllowAddAllToLeft()
public void setAllowAddAllToLeft(String allowAddAllToLeft)
public String getAllowAddAllToRight()
public void setAllowAddAllToRight(String allowAddAllToRight)
public String getAllowAddToLeft()
public void setAllowAddToLeft(String allowAddToLeft)
public String getAllowAddToRight()
public void setAllowAddToRight(String allowAddToRight)
public String getAllowUpDownOnLeft()
public void setAllowUpDownOnLeft(String allowUpDownOnLeft)
public String getAllowUpDownOnRight()
public void setAllowUpDownOnRight(String allowUpDownOnRight)
public String getLeftUpLabel()
public void setLeftUpLabel(String leftUpLabel)
public String getLeftDownLabel()
public void setLeftDownLabel(String leftDownLabel)
public String getRightUpLabel()
public void setRightUpLabel(String rightUpLabel)
public String getRightDownLabel()
public void setRightDownLabel(String rightDownLabel)
public String getLeftTitle()
public void setLeftTitle(String leftTitle)
public String getRightTitle()
public void setRightTitle(String rightTitle)
public void setAllowSelectAll(String allowSelectAll)
public String getAllowSelectAll()
public void setSelectAllLabel(String selectAllLabel)
public String getSelectAllLabel()
public void setButtonCssClass(String buttonCssId)
public String getButtonCssClass()
public void setButtonCssStyle(String buttonCssStyle)
public String getButtonCssStyle()
public String getAddAllToLeftOnclick()
public void setAddAllToLeftOnclick(String addAllToLeftOnclick)
public String getAddAllToRightOnclick()
public void setAddAllToRightOnclick(String addAllToRightOnclick)
public String getAddToLeftOnclick()
public void setAddToLeftOnclick(String addToLeftOnclick)
public String getAddToRightOnclick()
public void setAddToRightOnclick(String addToRightOnclick)
public String getUpDownOnLeftOnclick()
public void setUpDownOnLeftOnclick(String upDownOnLeftOnclick)
public String getUpDownOnRightOnclick()
public void setUpDownOnRightOnclick(String upDownOnRightOnclick)
public void setSelectAllOnclick(String selectAllOnclick)
public String getSelectAllOnclick()
public void setPerformClearTagStateForTagPoolingServers(boolean performClearTagStateForTagPoolingServers)
StrutsBodyTagSupport
StrutsBodyTagSupport.doEndTag()
processing,
which may help with certain edge cases with tag logic running on servers that implement JSP Tag Pooling.
Note: Even though the Tag classes extend this class StrutsBodyTagSupport
, and this method
StrutsBodyTagSupport.setPerformClearTagStateForTagPoolingServers(boolean)
exists in the method hierarchy,
the JSP processing requires us to explicitly override it in every Tag class in order for the Tag handler
method to be visible to the JSP processing.
Defining a setter in the superclass alone is insufficient (results in "Cannot find a setter method for the attribute").
See StrutsBodyTagSupport.clearTagStateForTagPoolingServers()
for additional details.
Warning: Setting this value to true may allow for the desired behaviour, but doing so
may violate the JSP specification. Set to true at your own risk.
setPerformClearTagStateForTagPoolingServers
in class AbstractDoubleListTag
performClearTagStateForTagPoolingServers
- true if tag state should be cleared, false otherwise.protected void clearTagStateForTagPoolingServers()
StrutsBodyTagSupport
Usage: Override this method in descendant classes to clear any state that might cause issues should the
servlet container re-use a cached instance of the tag object. If the descendant class does not
declare any new field members then it should not be strictly necessary to call this method there.
Typically that means calling the ancestor's ComponentTagSupport.clearTagStateForTagPoolingServers()
method first, then resetting instance variables at the current level to their default state.
Note: If the descendant overrides StrutsBodyTagSupport.doEndTag()
, and does not call
super.doEndTag(), then the descendant should call this method in the descendant doEndTag() method
to ensure consistent clearing of tag state.
clearTagStateForTagPoolingServers
in class AbstractDoubleListTag
Copyright © 2000–2024 Apache Software Foundation. All rights reserved.