org.apache.struts.taglib.html
public abstract class BaseInputTag extends BaseHandlerTag
Version: $Rev: 54929 $ $Date: 2004-10-16 17:38:42 +0100 (Sat, 16 Oct 2004) $
| Field Summary | |
|---|---|
| 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. |
| Method Summary | |
|---|---|
| int | doEndTag()
Process the end of this tag. |
| int | doStartTag()
Process the start of this tag. |
| 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 | 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).
|
null to retrieve the
corresponding property from our associated bean.Throws: JspException if a JSP exception has occurred
Throws: JspException if a JSP exception has occurred
getCols()).Returns: The element name.
Parameters: cols The new number of columns
Parameters: maxlength The new maximum length
Parameters: property The new property name
Parameters: rows The new number of rows
setCols()).
Parameters: size The new size
Parameters: value The new field value, or null to retrieve the
corresponding property from the bean