|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.servlet.jsp.tagext.TagSupport | +--javax.servlet.jsp.tagext.BodyTagSupport | +--org.apache.struts.taglib.html.BaseHandlerTag | +--org.apache.struts.taglib.html.BaseInputTag
Abstract base class for the various input tags.
Field Summary | |
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 |
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. |
Fields inherited from class org.apache.struts.taglib.html.BaseHandlerTag |
accesskey, defaultLocale, indexed, tabindex |
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
bodyContent |
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
id, pageContext |
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag |
EVAL_BODY_TAG |
Fields inherited from interface javax.servlet.jsp.tagext.Tag |
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
Constructor Summary | |
BaseInputTag()
|
Method Summary | |
int |
doEndTag()
Process the end of this tag. |
int |
doStartTag()
Process the start of this tag. |
java.lang.String |
getCols()
Return the number of columns for this field. |
java.lang.String |
getMaxlength()
Return the maximum length allowed. |
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). |
void |
release()
Release any acquired resources. |
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 |
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). |
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
doAfterBody, doInitBody, getBodyContent, getPreviousOut, setBodyContent |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.servlet.jsp.tagext.Tag |
getParent, setPageContext, setParent |
Field Detail |
protected java.lang.String cols
protected java.lang.String maxlength
protected static MessageResources messages
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.
Constructor Detail |
public BaseInputTag()
Method Detail |
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.Tag
doStartTag
in class javax.servlet.jsp.tagext.BodyTagSupport
javax.servlet.jsp.JspException
- if a JSP exception has occurredpublic int doEndTag() throws javax.servlet.jsp.JspException
doEndTag
in interface javax.servlet.jsp.tagext.Tag
doEndTag
in class javax.servlet.jsp.tagext.BodyTagSupport
javax.servlet.jsp.JspException
- if a JSP exception has occurredpublic void release()
release
in interface javax.servlet.jsp.tagext.Tag
release
in class BaseHandlerTag
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |