HDIV API 2.0.4

org.hdiv.components
Class InputTransferSelectHDIV

java.lang.Object
  extended by org.apache.struts2.components.Component
      extended by org.apache.struts2.components.UIBean
          extended by org.apache.struts2.components.ListUIBean
              extended by org.apache.struts2.components.InputTransferSelect
                  extended by org.hdiv.components.InputTransferSelectHDIV

public class InputTransferSelectHDIV
extends 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'}"
  />

 
 

Since:
HDIV 2.0
Author:
Gorka Vicente

Field Summary
 
Fields inherited from class org.apache.struts2.components.InputTransferSelect
addLabel, allowRemoveAll, allowUpDown, buttonCssClass, buttonCssStyle, downLabel, headerKey, headerValue, leftTitle, multiple, removeAllLabel, removeLabel, rightTitle, size, upLabel
 
Fields inherited from class org.apache.struts2.components.ListUIBean
list, listKey, listValue, throwExceptionOnNullValueAttribute
 
Fields inherited from class org.apache.struts2.components.UIBean
accesskey, cssClass, cssStyle, defaultTemplateDir, defaultUITheme, disabled, key, label, labelPosition, name, onblur, onchange, onclick, ondblclick, onfocus, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup, onselect, request, required, requiredposition, response, tabindex, template, templateDir, templateEngineManager, templateSuffix, theme, title, tooltip, tooltipConfig, value
 
Fields inherited from class org.apache.struts2.components.Component
actionMapper, COMPONENT_STACK, id, parameters, stack
 
Constructor Summary
InputTransferSelectHDIV(com.opensymphony.xwork2.util.ValueStack stack, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 
Method Summary
protected  java.lang.String getDefaultTemplate()
           
 
Methods inherited from class org.apache.struts2.components.InputTransferSelect
evaluateExtraParams, getAddLabel, getAllowRemoveAll, getAllowUpDown, getButtonCssClass, getButtonCssStyle, 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 inherited from class org.apache.struts2.components.ListUIBean
contains, getValueClassType, setList, setListKey, setListValue, setThrowExceptionOnNullValueAttribute
 
Methods inherited from class org.apache.struts2.components.UIBean
addFormParameter, buildTemplateName, enableAncestorFormCustomOnsubmit, end, escape, evaluateNameValue, evaluateParams, getTemplate, getTemplateDir, getTheme, getTooltipConfig, mergeTemplate, populateComponentHtmlId, setAccesskey, setCssClass, setCssStyle, setDefaultTemplateDir, setDefaultUITheme, setDisabled, setKey, setLabel, 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, setValue
 
Methods inherited from class org.apache.struts2.components.Component
addAllParameters, addParameter, altSyntax, copyParams, determineActionURL, determineNamespace, end, fieldError, findAncestor, findString, findString, findValue, findValue, findValue, getComponentStack, getId, getParameters, getStack, popComponentStack, setActionMapper, setId, start, toString, usesBody
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InputTransferSelectHDIV

public InputTransferSelectHDIV(com.opensymphony.xwork2.util.ValueStack stack,
                               javax.servlet.http.HttpServletRequest request,
                               javax.servlet.http.HttpServletResponse response)
Method Detail

getDefaultTemplate

protected java.lang.String getDefaultTemplate()
Overrides:
getDefaultTemplate in class org.apache.struts2.components.InputTransferSelect

HDIV 2.0.4

Copyright © 2008 hdiv.org. All Rights Reserved.