public class

TextareaTag

extends AbstractHtmlInputElementTag
java.lang.Object
   ↳ TagSupport
     ↳ org.springframework.web.servlet.tags.RequestContextAwareTag
       ↳ org.springframework.web.servlet.tags.HtmlEscapingAwareTag
         ↳ org.springframework.web.servlet.tags.form.AbstractFormTag
           ↳ org.springframework.web.servlet.tags.form.AbstractDataBoundFormElementTag
             ↳ org.springframework.web.servlet.tags.form.AbstractHtmlElementTag
               ↳ org.springframework.web.servlet.tags.form.AbstractHtmlInputElementTag
                 ↳ org.springframework.web.servlet.tags.form.TextareaTag

Class Overview

Databinding-aware JSP tag for rendering an HTML 'textarea'.

Summary

Constants
String COLS_ATTRIBUTE
String ONSELECT_ATTRIBUTE
String READONLY_ATTRIBUTE
String ROWS_ATTRIBUTE
[Expand]
Inherited Constants
From class org.springframework.web.servlet.tags.form.AbstractHtmlInputElementTag
From class org.springframework.web.servlet.tags.form.AbstractHtmlElementTag
From class org.springframework.web.servlet.tags.form.AbstractDataBoundFormElementTag
From class org.springframework.web.servlet.tags.RequestContextAwareTag
[Expand]
Inherited Fields
From class org.springframework.web.servlet.tags.form.AbstractDataBoundFormElementTag
From class org.springframework.web.servlet.tags.RequestContextAwareTag
Public Constructors
TextareaTag()
Public Methods
void setCols(String cols)
Set the value of the 'cols' attribute.
void setOnselect(String onselect)
Set the value of the 'onselect' attribute.
void setRows(String rows)
Set the value of the 'rows' attribute.
Protected Methods
String getCols()
Get the value of the 'cols' attribute.
String getOnselect()
Get the value of the 'onselect' attribute.
String getRows()
Get the value of the 'rows' attribute.
int writeTagContent(TagWriter tagWriter)
Subclasses should implement this method to perform tag content rendering.
[Expand]
Inherited Methods
From class org.springframework.web.servlet.tags.form.AbstractHtmlInputElementTag
From class org.springframework.web.servlet.tags.form.AbstractHtmlElementTag
From class org.springframework.web.servlet.tags.form.AbstractDataBoundFormElementTag
From class org.springframework.web.servlet.tags.form.AbstractFormTag
From class org.springframework.web.servlet.tags.HtmlEscapingAwareTag
From class org.springframework.web.servlet.tags.RequestContextAwareTag
From class java.lang.Object
From interface org.springframework.web.servlet.tags.EditorAwareTag

Constants

public static final String COLS_ATTRIBUTE

Constant Value: "cols"

public static final String ONSELECT_ATTRIBUTE

Constant Value: "onselect"

public static final String READONLY_ATTRIBUTE

Constant Value: "readonly"

public static final String ROWS_ATTRIBUTE

Constant Value: "rows"

Public Constructors

public TextareaTag ()

Public Methods

public void setCols (String cols)

Set the value of the 'cols' attribute. May be a runtime expression.

public void setOnselect (String onselect)

Set the value of the 'onselect' attribute. May be a runtime expression.

public void setRows (String rows)

Set the value of the 'rows' attribute. May be a runtime expression.

Protected Methods

protected String getCols ()

Get the value of the 'cols' attribute.

protected String getOnselect ()

Get the value of the 'onselect' attribute.

protected String getRows ()

Get the value of the 'rows' attribute.

protected int writeTagContent (TagWriter tagWriter)

Subclasses should implement this method to perform tag content rendering.

Returns
  • valid tag render instruction as per javax.servlet.jsp.tagext.Tag#doStartTag().
Throws
JspException