|
HDIV API 2.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.struts2.components.Component
org.apache.struts2.components.UIBean
org.apache.struts2.components.ListUIBean
org.apache.struts2.components.InputTransferSelect
org.hdiv.components.InputTransferSelectHDIV
public class InputTransferSelectHDIV
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 |
|---|
| 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 |
|---|
public InputTransferSelectHDIV(com.opensymphony.xwork2.util.ValueStack stack,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
| Method Detail |
|---|
protected java.lang.String getDefaultTemplate()
getDefaultTemplate in class org.apache.struts2.components.InputTransferSelect
|
HDIV 2.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||