org.apache.struts.taglib.html
Class BaseInputTag
public abstract class BaseInputTag
Abstract base class for the various input tags.
$Rev: 54929 $ $Date: 2004-10-16 17:38:42 +0100 (Sat, 16 Oct 2004) $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 , alt , altKey , bundle , defaultLocale , disabled , doDisabled , doReadonly , errorKey , errorStyle , errorStyleClass , errorStyleId , indexed , locale , log , loopTagStatusClass , loopTagStatusGetIndex , loopTagSupportClass , loopTagSupportGetStatus , messages , onblur , onchange , onclick , ondblclick , onfocus , onkeydown , onkeypress , onkeyup , onmousedown , onmousemove , onmouseout , onmouseover , onmouseup , onselect , readonly , style , styleClass , styleId , tabindex , title , titleKey , triedJstlInit , triedJstlSuccess |
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).
|
doErrorsExist , getAccesskey , getAlt , getAltKey , getBundle , getDisabled , getElementClose , getErrorKey , getErrorStyle , getErrorStyleClass , getErrorStyleId , getIndexValue , getIndexed , getJstlLoopIndex , 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 , prepareKeyEvents , prepareMouseEvents , prepareName , prepareOtherAttributes , prepareStyles , prepareTextEvents , release , setAccesskey , setAlt , setAltKey , setBundle , setDisabled , setErrorKey , setErrorStyle , setErrorStyleClass , setErrorStyleId , setIndexed , setLocale , setOnblur , setOnchange , setOnclick , setOndblclick , setOnfocus , setOnkeydown , setOnkeypress , setOnkeyup , setOnmousedown , setOnmousemove , setOnmouseout , setOnmouseover , setOnmouseup , setOnselect , setReadonly , setStyle , setStyleClass , setStyleId , setTabindex , setTitle , setTitleKey |
cols
protected String cols
The number of character columns for this field, or negative
for no limit.
maxlength
protected String maxlength
The maximum number of characters allowed, or negative for no limit.
messages
protected static MessageResources messages
The message resources for this package.
name
protected String name
The name of the bean containing our underlying property.
property
protected String property
The name of the field (and associated property) being processed.
rows
protected String rows
The number of rows for this field, or negative for no limit.
value
protected String value
The value for this field, or null
to retrieve the
corresponding property from our associated bean.
doEndTag
public int doEndTag()
throws JspException
Process the end of this tag. The default implementation does nothing.
doStartTag
public int doStartTag()
throws JspException
Process the start of this tag. The default implementation does nothing.
getCols
public String getCols()
Return the number of columns for this field.
getMaxlength
public String getMaxlength()
Return the maximum length allowed.
getName
public String getName()
getProperty
public String getProperty()
Return the property name.
getRows
public String getRows()
Return the number of rows for this field.
getSize
public String getSize()
Return the size of this field (synonym for getCols()
).
getValue
public String getValue()
Return the field value (if any).
prepareName
protected String prepareName()
throws JspException
Prepare the name element
- prepareName in interface BaseHandlerTag
setCols
public void setCols(String cols)
Set the number of columns for this field.
cols
- The new number of columns
setMaxlength
public void setMaxlength(String maxlength)
Set the maximum length allowed.
maxlength
- The new maximum length
setName
public void setName(String name)
setProperty
public void setProperty(String property)
Set the property name.
property
- The new property name
setRows
public void setRows(String rows)
Set the number of rows for this field.
rows
- The new number of rows
setSize
public void setSize(String size)
Set the size of this field (synonym for setCols()
).
setValue
public void setValue(String value)
Set the field value (if any).
value
- The new field value, or null
to retrieve the
corresponding property from the bean
Copyright B) 2000-2007 - The Apache Software Foundation