com.opensymphony.webwork.views.jsp.ui
Class TextFieldTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
com.opensymphony.webwork.views.jsp.WebWorkTagSupport
com.opensymphony.webwork.views.jsp.ParameterizedTagSupport
com.opensymphony.webwork.views.jsp.ui.AbstractUITag
com.opensymphony.webwork.views.jsp.ui.TextFieldTag
- All Implemented Interfaces:
- IterationTag, ParamTag.Parametric, Serializable, Tag
- Direct Known Subclasses:
- ComboBoxTag, PasswordTag
- public class TextFieldTag
- extends AbstractUITag
- Version:
- $Revision: 1.16 $
- Author:
- $Author: mbogaert $
- See Also:
- Serialized Form
Fields inherited from class com.opensymphony.webwork.views.jsp.ui.AbstractUITag |
cssClassAttr, cssStyleAttr, disabledAttr, labelAttr, labelPositionAttr, nameAttr, onblurAttr, onchangeAttr, onclickAttr, ondblclickAttr, onfocusAttr, onkeydownAttr, onkeypressAttr, onkeyupAttr, onmousedownAttr, onmousemoveAttr, onmouseoutAttr, onmouseoverAttr, onmouseupAttr, onselectAttr, requiredAttr, tabindexAttr, templateAttr, templateDir, theme, themeAttr, valueAttr |
Methods inherited from class com.opensymphony.webwork.views.jsp.ui.AbstractUITag |
buildTemplateName, doEndTag, doStartTag, evaluateNameValue, evaluateParams, getTemplateDir, getTemplateName, getTheme, getValueClassType, mergeTemplate, setCssClass, setCssStyle, setDisabled, setLabel, setLabelposition, setName, setOnblur, setOnchange, setOnclick, setOndblclick, setOnfocus, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setOnselect, setRequired, setTabindex, setTemplate, setTheme, setValue |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TEMPLATE
public static final String TEMPLATE
- The name of the default template for the TextFieldTag
- See Also:
- Constant Field Values
maxLengthAttr
protected String maxLengthAttr
readonlyAttr
protected String readonlyAttr
sizeAttr
protected String sizeAttr
TextFieldTag
public TextFieldTag()
setMaxlength
public void setMaxlength(String aMaxLength)
setReadonly
public void setReadonly(String readonly)
setSize
public void setSize(String size)
evaluateExtraParams
public void evaluateExtraParams(com.opensymphony.xwork.util.OgnlValueStack stack)
- Overrides:
evaluateExtraParams
in class AbstractUITag
getDefaultTemplate
protected String getDefaultTemplate()
- Description copied from class:
AbstractUITag
- A contract that requires each concrete UI Tag to specify which template should be used as a default. For
example, the CheckboxTab might return "checkbox.vm" while the RadioTag might return "radio.vm". This value
not begin with a '/' unless you intend to make the path absolute rather than relative to the
current theme.
- Specified by:
getDefaultTemplate
in class AbstractUITag
- Returns:
- The name of the template to be used as the default.