public abstract class BaseInputTag extends BaseHandlerTag
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
cols
The number of character columns for this field, or negative for no
limit.
|
protected java.lang.String |
maxlength
The maximum number of characters allowed, or negative for no limit.
|
protected static MessageResources |
messages
The message resources for this package.
|
protected java.lang.String |
name
The name of the bean containing our underlying property.
|
protected java.lang.String |
property
The name of the field (and associated property) being processed.
|
protected java.lang.String |
rows
The number of rows for this field, or negative for no limit.
|
protected java.lang.String |
value
The value for this field, or
null to retrieve the
corresponding property from our associated bean. |
accesskey, doDisabled, doReadonly, indexed, tabindex| Constructor and Description |
|---|
BaseInputTag() |
| Modifier and Type | Method and Description |
|---|---|
int |
doEndTag()
Process the end of this tag.
|
int |
doStartTag()
Process the start of this tag.
|
java.lang.String |
getAutocomplete()
Return autocomplete
|
java.lang.String |
getCols()
Return the number of columns for this field.
|
java.lang.String |
getMaxlength()
Return the maximum length allowed.
|
java.lang.String |
getName() |
java.lang.String |
getProperty()
Return the property name.
|
java.lang.String |
getRows()
Return the number of rows for this field.
|
java.lang.String |
getSize()
Return the size of this field (synonym for
getCols()). |
java.lang.String |
getValue()
Return the field value (if any).
|
protected java.lang.String |
prepareName()
Prepare the name element
|
void |
release()
Release any acquired resources.
|
void |
setAutocomplete(java.lang.String autocomplete)
Activate/disactivate autocompletion (on/off)
|
void |
setCols(java.lang.String cols)
Set the number of columns for this field.
|
void |
setMaxlength(java.lang.String maxlength)
Set the maximum length allowed.
|
void |
setName(java.lang.String name) |
void |
setProperty(java.lang.String property)
Set the property name.
|
void |
setRows(java.lang.String rows)
Set the number of rows for this field.
|
void |
setSize(java.lang.String size)
Set the size of this field (synonym for
setCols()). |
void |
setValue(java.lang.String value)
Set the field value (if any).
|
doErrorsExist, getAccesskey, getAlt, getAltKey, getBundle, getDir, getDisabled, getElementClose, getErrorKey, getErrorStyle, getErrorStyleClass, getErrorStyleId, getIndexed, getIndexValue, getLang, getLocale, getOnblur, getOnchange, getOnclick, getOndblclick, getOnfocus, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getOnselect, getReadonly, getStyle, getStyleClass, getStyleId, getTabindex, getTitle, getTitleKey, isXhtml, lookupProperty, message, prepareAttribute, prepareEventHandlers, prepareFocusEvents, prepareIndex, prepareInternationalization, prepareKeyEvents, prepareMouseEvents, prepareOtherAttributes, prepareStyles, prepareTextEvents, setAccesskey, setAlt, setAltKey, setBundle, setDir, setDisabled, setErrorKey, setErrorStyle, setErrorStyleClass, setErrorStyleId, setIndexed, setLang, setLocale, setOnblur, setOnchange, setOnclick, setOndblclick, setOnfocus, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setOnselect, setReadonly, setStyle, setStyleClass, setStyleId, setTabindex, setTitle, setTitleKeydoAfterBody, doInitBody, getBodyContent, getPreviousOut, setBodyContentfindAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValueprotected static MessageResources messages
protected java.lang.String cols
protected java.lang.String maxlength
protected java.lang.String property
protected java.lang.String rows
protected java.lang.String value
null to retrieve the
corresponding property from our associated bean.protected java.lang.String name
public java.lang.String getAutocomplete()
public void setAutocomplete(java.lang.String autocomplete)
public java.lang.String getName()
public void setName(java.lang.String name)
public java.lang.String getCols()
public void setCols(java.lang.String cols)
cols - The new number of columnspublic java.lang.String getMaxlength()
public void setMaxlength(java.lang.String maxlength)
maxlength - The new maximum lengthpublic java.lang.String getProperty()
public void setProperty(java.lang.String property)
property - The new property namepublic java.lang.String getRows()
public void setRows(java.lang.String rows)
rows - The new number of rowspublic java.lang.String getSize()
getCols()).public void setSize(java.lang.String size)
setCols()).size - The new sizepublic java.lang.String getValue()
public void setValue(java.lang.String value)
value - The new field value, or null to retrieve the
corresponding property from the beanpublic int doStartTag()
throws javax.servlet.jsp.JspException
doStartTag in interface javax.servlet.jsp.tagext.TagdoStartTag in class javax.servlet.jsp.tagext.BodyTagSupportjavax.servlet.jsp.JspException - if a JSP exception has occurredpublic int doEndTag()
throws javax.servlet.jsp.JspException
doEndTag in interface javax.servlet.jsp.tagext.TagdoEndTag in class javax.servlet.jsp.tagext.BodyTagSupportjavax.servlet.jsp.JspException - if a JSP exception has occurredprotected java.lang.String prepareName()
throws javax.servlet.jsp.JspException
prepareName in class BaseHandlerTagjavax.servlet.jsp.JspExceptionpublic void release()
release in interface javax.servlet.jsp.tagext.Tagrelease in class BaseHandlerTagCopyright © 2000–2024 Apache Software Foundation. All rights reserved.