Save This Page
Home » struts-2.1.8.1-src » org.apache » struts2 » components » [javadoc | source]
org.apache.struts2.components
public class: InputTransferSelect [javadoc | source]
java.lang.Object
   org.apache.struts2.components.Component
      org.apache.struts2.components.UIBean
         org.apache.struts2.components.ListUIBean
            org.apache.struts2.components.InputTransferSelect
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 submision.

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'}"
 />


Field Summary
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     
Fields inherited from org.apache.struts2.components.ListUIBean:
list,  listKey,  listValue,  throwExceptionOnNullValueAttribute
Fields inherited from org.apache.struts2.components.UIBean:
request,  response,  templateSuffix,  template,  templateDir,  theme,  key,  id,  cssClass,  cssStyle,  cssErrorClass,  cssErrorStyle,  disabled,  label,  labelPosition,  labelSeparator,  requiredposition,  name,  required,  tabindex,  value,  title,  onclick,  ondblclick,  onmousedown,  onmouseup,  onmouseover,  onmousemove,  onmouseout,  onfocus,  onblur,  onkeypress,  onkeydown,  onkeyup,  onselect,  onchange,  accesskey,  tooltip,  tooltipConfig,  javascriptTooltip,  tooltipDelay,  tooltipCssClass,  tooltipIconPath,  dynamicAttributes,  defaultTemplateDir,  defaultUITheme,  templateEngineManager
Fields inherited from org.apache.struts2.components.Component:
COMPONENT_STACK,  stack,  parameters,  actionMapper,  throwExceptionOnELFailure
Constructor:
 public InputTransferSelect(ValueStack stack,
    HttpServletRequest request,
    HttpServletResponse response) 
Method from org.apache.struts2.components.InputTransferSelect Summary:
evaluateExtraParams,   getAddLabel,   getAllowRemoveAll,   getAllowUpDown,   getButtonCssClass,   getButtonCssStyle,   getDefaultTemplate,   getDownLabel,   getHeaderKey,   getHeaderValue,   getLeftTitle,   getMultiple,   getRemoveAllLabel,   getRemoveLabel,   getRightTitle,   getSize,   getUpLabel,   setAddLabel,   setAllowRemoveAll,   setAllowUpDown,   setButtonCssClass,   setButtonCssStyle,   setDownLabel,   setHeaderKey,   setHeaderValue,   setLeftTitle,   setMultiple,   setRemoveAllLabel,   setRemoveLabel,   setRightTitle,   setSize,   setUpLabel
Methods from org.apache.struts2.components.ListUIBean:
contains,   evaluateExtraParams,   getValueClassType,   setList,   setListKey,   setListValue,   setThrowExceptionOnNullValueAttribute
Methods from org.apache.struts2.components.UIBean:
addFormParameter,   buildTemplateName,   enableAncestorFormCustomOnsubmit,   end,   ensureAttributeSafelyNotEscaped,   escape,   evaluateExtraParams,   evaluateNameValue,   evaluateParams,   getDefaultTemplate,   getId,   getTemplate,   getTemplateDir,   getTheme,   getTooltipConfig,   getValueClassType,   mergeTemplate,   populateComponentHtmlId,   setAccesskey,   setCssClass,   setCssErrorClass,   setCssErrorStyle,   setCssStyle,   setDefaultTemplateDir,   setDefaultUITheme,   setDisabled,   setDynamicAttributes,   setId,   setJavascriptTooltip,   setKey,   setLabel,   setLabelSeparator,   setLabelposition,   setName,   setOnblur,   setOnchange,   setOnclick,   setOndblclick,   setOnfocus,   setOnkeydown,   setOnkeypress,   setOnkeyup,   setOnmousedown,   setOnmousemove,   setOnmouseout,   setOnmouseover,   setOnmouseup,   setOnselect,   setRequired,   setRequiredposition,   setTabindex,   setTemplate,   setTemplateDir,   setTemplateEngineManager,   setTheme,   setTitle,   setTooltip,   setTooltipConfig,   setTooltipCssClass,   setTooltipDelay,   setTooltipIconPath,   setValue
Methods from org.apache.struts2.components.Component:
addAllParameters,   addParameter,   altSyntax,   altSyntax,   completeExpressionIfAltSyntax,   copyParams,   determineActionURL,   determineNamespace,   end,   end,   fieldError,   findAncestor,   findString,   findString,   findStringIfAltSyntax,   findValue,   findValue,   findValue,   getComponentStack,   getParameters,   getStack,   popComponentStack,   setActionMapper,   setThrowExceptionsOnELFailure,   start,   stripExpressionIfAltSyntax,   stripExpressionIfAltSyntax,   toString,   usesBody
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.struts2.components.InputTransferSelect Detail:
 public  void evaluateExtraParams() 
 public String getAddLabel() 
 public String getAllowRemoveAll() 
 public String getAllowUpDown() 
 public String getButtonCssClass() 
 public String getButtonCssStyle() 
 protected String getDefaultTemplate() 
 public String getDownLabel() 
 public String getHeaderKey() 
 public String getHeaderValue() 
 public String getLeftTitle() 
 public String getMultiple() 
 public String getRemoveAllLabel() 
 public String getRemoveLabel() 
 public String getRightTitle() 
 public String getSize() 
 public String getUpLabel() 
 public  void setAddLabel(String addLabel) 
 public  void setAllowRemoveAll(String allowRemoveAll) 
 public  void setAllowUpDown(String allowUpDown) 
 public  void setButtonCssClass(String buttonCssClass) 
 public  void setButtonCssStyle(String buttonCssStyle) 
 public  void setDownLabel(String downLabel) 
 public  void setHeaderKey(String headerKey) 
 public  void setHeaderValue(String headerValue) 
 public  void setLeftTitle(String leftTitle) 
 public  void setMultiple(String multiple) 
 public  void setRemoveAllLabel(String removeAllLabel) 
 public  void setRemoveLabel(String removeLabel) 
 public  void setRightTitle(String rightTitle) 
 public  void setSize(String size) 
 public  void setUpLabel(String upLabel)