com.opensymphony.webwork.components
Class DoubleListUIBean

java.lang.Object
  extended by com.opensymphony.webwork.components.Component
      extended by com.opensymphony.webwork.components.UIBean
          extended by com.opensymphony.webwork.components.ListUIBean
              extended by com.opensymphony.webwork.components.DoubleListUIBean
Direct Known Subclasses:
DoubleSelect, OptionTransferSelect

public abstract class DoubleListUIBean
extends ListUIBean

DoubleListUIBean is the standard superclass of all webwork double list handling components.

Note that the doublelistkey and doublelistvalue attribute will default to "key" and "value" respectively only when the doublelist attribute is evaluated to a Map or its decendant. Other thing else, will result in doublelistkey and doublelistvalue to be null and not used.

Since:
2.2
Version:
$Revision: 2709 $
Author:
Patrick Lightbody, Rene Gielen, Rainer Hermanns, tm_jee

Field Summary
protected  String doubleAccesskey
           
protected  String doubleCssClass
           
protected  String doubleCssStyle
           
protected  String doubleDisabled
           
protected  String doubleEmptyOption
           
protected  String doubleHeaderKey
           
protected  String doubleHeaderValue
           
protected  String doubleId
           
protected  String doubleList
           
protected  String doubleListKey
           
protected  String doubleListValue
           
protected  String doubleMultiple
           
protected  String doubleName
           
protected  String doubleOnblur
           
protected  String doubleOnchange
           
protected  String doubleOnclick
           
protected  String doubleOndblclick
           
protected  String doubleOnfocus
           
protected  String doubleOnkeydown
           
protected  String doubleOnkeypress
           
protected  String doubleOnkeyup
           
protected  String doubleOnmousedown
           
protected  String doubleOnmousemove
           
protected  String doubleOnmouseout
           
protected  String doubleOnmouseover
           
protected  String doubleOnmouseup
           
protected  String doubleOnselect
           
protected  String doubleSize
           
protected  String doubleValue
           
protected  String emptyOption
           
protected  String formName
           
protected  String headerKey
           
protected  String headerValue
           
protected  String multiple
           
protected  String size
           
 
Fields inherited from class com.opensymphony.webwork.components.ListUIBean
list, listKey, listValue, throwExceptionOnNullValueAttribute
 
Fields inherited from class com.opensymphony.webwork.components.UIBean
accesskey, cssClass, cssStyle, disabled, label, labelPosition, name, onblur, onchange, onclick, ondblclick, onfocus, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup, onselect, request, required, requiredposition, response, tabindex, template, templateDir, templateSuffix, theme, title, tooltip, tooltipConfig, value
 
Fields inherited from class com.opensymphony.webwork.components.Component
COMPONENT_STACK, id, parameters, stack
 
Constructor Summary
DoubleListUIBean(OgnlValueStack stack, HttpServletRequest request, HttpServletResponse response)
           
 
Method Summary
 void evaluateExtraParams()
           
 String getDoubleCssClass()
           
 String getDoubleCssStyle()
           
 String getDoubleDisabled()
           
 String getDoubleEmptyOption()
           
 String getDoubleHeaderKey()
           
 String getDoubleHeaderValue()
           
 String getDoubleId()
           
 String getDoubleList()
           
 String getDoubleListKey()
          Set the list key of the second attribute
 String getDoubleListValue()
           
 String getDoubleMultiple()
           
 String getDoubleName()
           
 String getDoubleOnblur()
           
 String getDoubleOnchange()
           
 String getDoubleOnclick()
           
 String getDoubleOndblclick()
           
 String getDoubleOnfocus()
           
 String getDoubleOnkeydown()
           
 String getDoubleOnkeypress()
           
 String getDoubleOnkeyup()
           
 String getDoubleOnmousedown()
           
 String getDoubleOnmousemove()
           
 String getDoubleOnmouseout()
           
 String getDoubleOnmouseover()
           
 String getDoubleOnmouseup()
           
 String getDoubleOnselect()
           
 String getDoubleSize()
           
 String getDoubleValue()
           
 String getFormName()
           
 void setDoubleAccesskey(String doubleAccesskey)
          Accesskey attribute of the second list.
 void setDoubleCssClass(String doubleCssClass)
          The css class for the second list
 void setDoubleCssStyle(String doubleCssStyle)
          The css style for the second list
 void setDoubleDisabled(String doubleDisabled)
          Decides if a disable attribute should be added to the second list
 void setDoubleEmptyOption(String doubleEmptyOption)
          Decides if the second list will add an empty option
 void setDoubleHeaderKey(String doubleHeaderKey)
          The header key for the second list
 void setDoubleHeaderValue(String doubleHeaderValue)
          The header value for the second list
 void setDoubleId(String doubleId)
          The id of the second list
 void setDoubleList(String doubleList)
          The second iterable source to populate from.
 void setDoubleListKey(String doubleListKey)
          The key expression to use for second list
 void setDoubleListValue(String doubleListValue)
          The value expression to use for second list
 void setDoubleMultiple(String doubleMultiple)
          Decides if multiple attribute should be set on the second list
 void setDoubleName(String doubleName)
          The name for complete component
 void setDoubleOnblur(String doubleOnblur)
          Set the onblur attribute of the second list
 void setDoubleOnchange(String doubleOnchange)
          Set the onchange attribute of the second list
 void setDoubleOnclick(String doubleOnclick)
          Set the onclick attribute of the second list
 void setDoubleOndblclick(String doubleOndblclick)
          Set the ondbclick attribute of the second list
 void setDoubleOnfocus(String doubleOnfocus)
          Set the onfocus attribute of the second list
 void setDoubleOnkeydown(String doubleOnkeydown)
          Set the onkeydown attribute of the second list
 void setDoubleOnkeypress(String doubleOnkeypress)
          Set the onkeypress attribute of the second list
 void setDoubleOnkeyup(String doubleOnkeyup)
          Set the onkeyup attribute of the second list
 void setDoubleOnmousedown(String doubleOnmousedown)
          Set the onmousedown attribute of the second list
 void setDoubleOnmousemove(String doubleOnmousemove)
          Set the onmousemove attribute of the second list
 void setDoubleOnmouseout(String doubleOnmouseout)
          Set the onmouseout attribute of the second list
 void setDoubleOnmouseover(String doubleOnmouseover)
          Set the onmouseover attribute of the second list
 void setDoubleOnmouseup(String doubleOnmouseup)
          Set the onmouseup attribute of the second list
 void setDoubleOnselect(String doubleOnselect)
          Set the onselect attribute of the second list
 void setDoubleSize(String doubleSize)
          Set the size attribute of the second list
 void setDoubleValue(String doubleValue)
          The value expression for complete component
 void setEmptyOption(String emptyOption)
          Decides of an empty option is to be inserted in the second list
 void setFormName(String formName)
          The form name this component resides in and populates to
 void setHeaderKey(String headerKey)
          Set the header key of the second list.
 void setHeaderValue(String headerValue)
          Set the header value of the second list
 void setMultiple(String multiple)
          Creates a multiple select.
 void setSize(String size)
          Size of the element box (# of elements to show)
 
Methods inherited from class com.opensymphony.webwork.components.ListUIBean
contains, getValueClassType, setList, setListKey, setListValue, setThrowExceptionOnNullValueAttribute
 
Methods inherited from class com.opensymphony.webwork.components.UIBean
addFormParameter, buildTemplateName, enableAncestorFormCustomOnsubmit, end, escape, evaluateNameValue, evaluateParams, getDefaultTemplate, getTemplate, getTemplateDir, getTheme, getTooltipConfig, mergeTemplate, populateComponentHtmlId, setAccesskey, setCssClass, setCssStyle, setDisabled, setLabel, setLabelposition, setLabelPosition, setName, setOnblur, setOnchange, setOnclick, setOndblclick, setOnfocus, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setOnselect, setRequired, setRequiredposition, setTabindex, setTemplate, setTemplateDir, setTheme, setTitle, setTooltip, setTooltipConfig, setValue
 
Methods inherited from class com.opensymphony.webwork.components.Component
addAllParameters, addParameter, altSyntax, copyParams, determineActionURL, determineNamespace, end, fieldError, findAncestor, findString, findString, findValue, findValue, findValue, getComponentStack, getId, getParameters, getStack, popComponentStack, setId, start, toString, usesBody
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

emptyOption

protected String emptyOption

headerKey

protected String headerKey

headerValue

protected String headerValue

multiple

protected String multiple

size

protected String size

doubleList

protected String doubleList

doubleListKey

protected String doubleListKey

doubleListValue

protected String doubleListValue

doubleName

protected String doubleName

doubleValue

protected String doubleValue

formName

protected String formName

doubleId

protected String doubleId

doubleDisabled

protected String doubleDisabled

doubleMultiple

protected String doubleMultiple

doubleSize

protected String doubleSize

doubleHeaderKey

protected String doubleHeaderKey

doubleHeaderValue

protected String doubleHeaderValue

doubleEmptyOption

protected String doubleEmptyOption

doubleCssClass

protected String doubleCssClass

doubleCssStyle

protected String doubleCssStyle

doubleOnclick

protected String doubleOnclick

doubleOndblclick

protected String doubleOndblclick

doubleOnmousedown

protected String doubleOnmousedown

doubleOnmouseup

protected String doubleOnmouseup

doubleOnmouseover

protected String doubleOnmouseover

doubleOnmousemove

protected String doubleOnmousemove

doubleOnmouseout

protected String doubleOnmouseout

doubleOnfocus

protected String doubleOnfocus

doubleOnblur

protected String doubleOnblur

doubleOnkeypress

protected String doubleOnkeypress

doubleOnkeydown

protected String doubleOnkeydown

doubleOnkeyup

protected String doubleOnkeyup

doubleOnselect

protected String doubleOnselect

doubleOnchange

protected String doubleOnchange

doubleAccesskey

protected String doubleAccesskey
Constructor Detail

DoubleListUIBean

public DoubleListUIBean(OgnlValueStack stack,
                        HttpServletRequest request,
                        HttpServletResponse response)
Method Detail

evaluateExtraParams

public void evaluateExtraParams()
Overrides:
evaluateExtraParams in class ListUIBean

setDoubleList

public void setDoubleList(String doubleList)
The second iterable source to populate from.


setDoubleListKey

public void setDoubleListKey(String doubleListKey)
The key expression to use for second list


setDoubleListValue

public void setDoubleListValue(String doubleListValue)
The value expression to use for second list


setDoubleName

public void setDoubleName(String doubleName)
The name for complete component


setDoubleValue

public void setDoubleValue(String doubleValue)
The value expression for complete component


setFormName

public void setFormName(String formName)
The form name this component resides in and populates to


getFormName

public String getFormName()

setDoubleCssClass

public void setDoubleCssClass(String doubleCssClass)
The css class for the second list


getDoubleCssClass

public String getDoubleCssClass()

setDoubleCssStyle

public void setDoubleCssStyle(String doubleCssStyle)
The css style for the second list


getDoubleCssStyle

public String getDoubleCssStyle()

setDoubleHeaderKey

public void setDoubleHeaderKey(String doubleHeaderKey)
The header key for the second list


getDoubleHeaderKey

public String getDoubleHeaderKey()

setDoubleHeaderValue

public void setDoubleHeaderValue(String doubleHeaderValue)
The header value for the second list


getDoubleHeaderValue

public String getDoubleHeaderValue()

setDoubleEmptyOption

public void setDoubleEmptyOption(String doubleEmptyOption)
Decides if the second list will add an empty option


getDoubleEmptyOption

public String getDoubleEmptyOption()

getDoubleDisabled

public String getDoubleDisabled()

setDoubleDisabled

public void setDoubleDisabled(String doubleDisabled)
Decides if a disable attribute should be added to the second list


getDoubleId

public String getDoubleId()

setDoubleId

public void setDoubleId(String doubleId)
The id of the second list


getDoubleMultiple

public String getDoubleMultiple()

setDoubleMultiple

public void setDoubleMultiple(String doubleMultiple)
Decides if multiple attribute should be set on the second list


getDoubleOnblur

public String getDoubleOnblur()

setDoubleOnblur

public void setDoubleOnblur(String doubleOnblur)
Set the onblur attribute of the second list


getDoubleOnchange

public String getDoubleOnchange()

setDoubleOnchange

public void setDoubleOnchange(String doubleOnchange)
Set the onchange attribute of the second list


getDoubleOnclick

public String getDoubleOnclick()

setDoubleOnclick

public void setDoubleOnclick(String doubleOnclick)
Set the onclick attribute of the second list


getDoubleOndblclick

public String getDoubleOndblclick()

setDoubleOndblclick

public void setDoubleOndblclick(String doubleOndblclick)
Set the ondbclick attribute of the second list


getDoubleOnfocus

public String getDoubleOnfocus()

setDoubleOnfocus

public void setDoubleOnfocus(String doubleOnfocus)
Set the onfocus attribute of the second list


getDoubleOnkeydown

public String getDoubleOnkeydown()

setDoubleOnkeydown

public void setDoubleOnkeydown(String doubleOnkeydown)
Set the onkeydown attribute of the second list


getDoubleOnkeypress

public String getDoubleOnkeypress()

setDoubleOnkeypress

public void setDoubleOnkeypress(String doubleOnkeypress)
Set the onkeypress attribute of the second list


getDoubleOnkeyup

public String getDoubleOnkeyup()

setDoubleOnkeyup

public void setDoubleOnkeyup(String doubleOnkeyup)
Set the onkeyup attribute of the second list


getDoubleOnmousedown

public String getDoubleOnmousedown()

setDoubleOnmousedown

public void setDoubleOnmousedown(String doubleOnmousedown)
Set the onmousedown attribute of the second list


getDoubleOnmousemove

public String getDoubleOnmousemove()

setDoubleOnmousemove

public void setDoubleOnmousemove(String doubleOnmousemove)
Set the onmousemove attribute of the second list


getDoubleOnmouseout

public String getDoubleOnmouseout()

setDoubleOnmouseout

public void setDoubleOnmouseout(String doubleOnmouseout)
Set the onmouseout attribute of the second list


getDoubleOnmouseover

public String getDoubleOnmouseover()

setDoubleOnmouseover

public void setDoubleOnmouseover(String doubleOnmouseover)
Set the onmouseover attribute of the second list


getDoubleOnmouseup

public String getDoubleOnmouseup()

setDoubleOnmouseup

public void setDoubleOnmouseup(String doubleOnmouseup)
Set the onmouseup attribute of the second list


getDoubleOnselect

public String getDoubleOnselect()

setDoubleOnselect

public void setDoubleOnselect(String doubleOnselect)
Set the onselect attribute of the second list


getDoubleSize

public String getDoubleSize()

setDoubleSize

public void setDoubleSize(String doubleSize)
Set the size attribute of the second list


getDoubleList

public String getDoubleList()

getDoubleListKey

public String getDoubleListKey()
Set the list key of the second attribute


getDoubleListValue

public String getDoubleListValue()

getDoubleName

public String getDoubleName()

getDoubleValue

public String getDoubleValue()

setEmptyOption

public void setEmptyOption(String emptyOption)
Decides of an empty option is to be inserted in the second list


setHeaderKey

public void setHeaderKey(String headerKey)
Set the header key of the second list. Must not be empty! "'-1'" and "''" is correct, "" is bad.


setHeaderValue

public void setHeaderValue(String headerValue)
Set the header value of the second list


setMultiple

public void setMultiple(String multiple)
Creates a multiple select. The tag will pre-select multiple values if the values are passed as an Array (of appropriate types) via the value attribute.


setSize

public void setSize(String size)
Size of the element box (# of elements to show)


setDoubleAccesskey

public void setDoubleAccesskey(String doubleAccesskey)
Accesskey attribute of the second list.

Parameters:
doubleAccesskey -

WebWork Project Page