org.apache.struts.taglib.html

Class TextareaTag

Known Direct Subclasses:
NestedTextareaTag

public class TextareaTag
extends BaseInputTag

Custom tag for input fields of type "textarea".

Version:
$Revision: 1.14 $ $Date: 2003/05/18 18:57:13 $

Authors:
Craig R. McClanahan
David Graham

Field Summary

protected String
name
The name of the bean containing our underlying property.

Fields inherited from class org.apache.struts.taglib.html.BaseInputTag

cols, maxlength, messages, property, rows, value

Fields inherited from class org.apache.struts.taglib.html.BaseHandlerTag

accesskey, alt, altKey, bundle, defaultLocale, disabled, 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

Method Summary

int
doStartTag()
Generate the required input tag.
String
getName()
void
release()
Release any acquired resources.
protected String
renderData()
Renders the value displayed in the <textarea> tag.
protected String
renderTextareaElement()
Generate an HTML <textarea> tag.
void
setName(String name)

Methods inherited from class org.apache.struts.taglib.html.BaseInputTag

doEndTag, doStartTag, getCols, getMaxlength, getProperty, getRows, getSize, getValue, release, setCols, setMaxlength, setProperty, setRows, setSize, setValue

Methods inherited from class org.apache.struts.taglib.html.BaseHandlerTag

getAccesskey, getAlt, getAltKey, getBundle, getDisabled, getElementClose, 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, prepareEventHandlers, prepareFocusEvents, prepareIndex, prepareKeyEvents, prepareMouseEvents, prepareStyles, prepareTextEvents, release, setAccesskey, setAlt, setAltKey, setBundle, setDisabled, setIndexed, setLocale, setOnblur, setOnchange, setOnclick, setOndblclick, setOnfocus, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setOnselect, setReadonly, setStyle, setStyleClass, setStyleId, setTabindex, setTitle, setTitleKey

Field Details

name

protected String name
The name of the bean containing our underlying property.

Method Details

doStartTag

public int doStartTag()
            throws JspException
Generate the required input tag. Support for indexed since Struts 1.1
Overrides:
doStartTag in interface BaseInputTag


getName

public String getName()


release

public void release()
Release any acquired resources.
Overrides:
release in interface BaseInputTag


renderData

protected String renderData()
            throws JspException
Renders the value displayed in the <textarea> tag.

Since:
Struts 1.1


renderTextareaElement

protected String renderTextareaElement()
            throws JspException
Generate an HTML <textarea> tag.

Since:
Struts 1.1


setName

public void setName(String name)


Copyright B) 2000-2005 - Apache Software Foundation