public abstract class BaseInputTag extends BaseHandlerTag
| Modifier and Type | Field and Description |
|---|---|
protected String |
cols
The number of character columns for this field, or negative for no
limit.
|
protected String |
maxlength
The maximum number of characters allowed, or negative for no limit.
|
protected static MessageResources |
messages
The message resources for this package.
|
protected String |
name
The name of the bean containing our underlying property.
|
protected String |
property
The name of the field (and associated property) being processed.
|
protected String |
rows
The number of rows for this field, or negative for no limit.
|
protected 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.
|
String |
getAutocomplete()
Return autocomplete
|
String |
getCols()
Return the number of columns for this field.
|
String |
getMaxlength()
Return the maximum length allowed.
|
String |
getName() |
String |
getProperty()
Return the property name.
|
String |
getRows()
Return the number of rows for this field.
|
String |
getSize()
Return the size of this field (synonym for
getCols()). |
String |
getValue()
Return the field value (if any).
|
protected String |
prepareName()
Prepare the name element
|
void |
release()
Release any acquired resources.
|
void |
setAutocomplete(String autocomplete)
Activate/disactivate autocompletion (on/off)
|
void |
setCols(String cols)
Set the number of columns for this field.
|
void |
setMaxlength(String maxlength)
Set the maximum length allowed.
|
void |
setName(String name) |
void |
setProperty(String property)
Set the property name.
|
void |
setRows(String rows)
Set the number of rows for this field.
|
void |
setSize(String size)
Set the size of this field (synonym for
setCols()). |
void |
setValue(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 String cols
protected String maxlength
protected String property
protected String rows
protected String value
null to retrieve the
corresponding property from our associated bean.protected String name
public String getAutocomplete()
public void setAutocomplete(String autocomplete)
public String getName()
public void setName(String name)
public String getCols()
public void setCols(String cols)
cols - The new number of columnspublic String getMaxlength()
public void setMaxlength(String maxlength)
maxlength - The new maximum lengthpublic String getProperty()
public void setProperty(String property)
property - The new property namepublic String getRows()
public void setRows(String rows)
rows - The new number of rowspublic String getSize()
getCols()).public void setSize(String size)
setCols()).size - The new sizepublic String getValue()
public void setValue(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 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-2017 Apache Software Foundation. All Rights Reserved.