net.sf.springlayout.web.layout.taglib
Class TextAreaFieldTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by org.springframework.web.servlet.tags.RequestContextAwareTag
          extended by org.springframework.web.servlet.tags.HtmlEscapingAwareTag
              extended by net.sf.springlayout.web.layout.taglib.LayoutBindTag
                  extended by net.sf.springlayout.web.layout.taglib.AbstractFieldTag
                      extended by net.sf.springlayout.web.layout.taglib.AbstractHtmlAttributesTag
                          extended by net.sf.springlayout.web.layout.taglib.AbstractHtmlInputAttributesTag
                              extended by net.sf.springlayout.web.layout.taglib.TextAreaFieldTag
All Implemented Interfaces:
java.io.Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.Tag, javax.servlet.jsp.tagext.TryCatchFinally

public class TextAreaFieldTag
extends AbstractHtmlInputAttributesTag

Author:
Adam Boas Created on 23/04/2006
See Also:
Serialized Form

Field Summary
static java.lang.String ALT_ATTRIBUTE
          The name of the 'alt' attribute.
static java.lang.String COLS_ATTRIBUTE
          The name of the 'cols' attribute.
static java.lang.String MAXLENGTH_ATTRIBUTE
          The name of the 'maxlength' attribute.
static java.lang.String ONSELECT_ATTRIBUTE
          The name of the 'onselect' attribute.
static java.lang.String READONLY_ATTRIBUTE
          The name of the 'readonly' attribute.
static java.lang.String ROWS_ATTRIBUTE
          The name of the 'rows' attribute.
 
Fields inherited from class net.sf.springlayout.web.layout.taglib.AbstractHtmlInputAttributesTag
ACCESSKEY_ATTRIBUTE, disabled, DISABLED_ATTRIBUTE, ONBLUR_ATTRIBUTE, ONFOCUS_ATTRIBUTE
 
Fields inherited from class net.sf.springlayout.web.layout.taglib.AbstractHtmlAttributesTag
CLASS_ATTRIBUTE, cssErrorClass, DIR_ATTRIBUTE, LANG_ATTRIBUTE, mode, ONCHANGE_ATTRIBUTE, ONCLICK_ATTRIBUTE, ONDBLCLICK_ATTRIBUTE, ONKEYDOWN_ATTRIBUTE, ONKEYPRESS_ATTRIBUTE, ONKEYUP_ATTRIBUTE, ONMOUSEDOWN_ATTRIBUTE, ONMOUSEMOVE_ATTRIBUTE, ONMOUSEOUT_ATTRIBUTE, ONMOUSEOVER_ATTRIBUTE, ONMOUSEUP_ATTRIBUTE, prependMap, STYLE_ATTRIBUTE, TABINDEX_ATTRIBUTE, TITLE_ATTRIBUTE
 
Fields inherited from class net.sf.springlayout.web.layout.taglib.AbstractFieldTag
config, emptyDisplayString, fieldInstance
 
Fields inherited from class net.sf.springlayout.web.layout.taglib.LayoutBindTag
ignoreNestedPath, path, pathIfNestedNull, previousStatus, status
 
Fields inherited from class org.springframework.web.servlet.tags.RequestContextAwareTag
logger, REQUEST_CONTEXT_PAGE_ATTRIBUTE
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
TextAreaFieldTag()
           
 
Method Summary
protected  void appendEditModeOutput(java.lang.StringBuffer output)
          Builds the ouput which the tag must supply in Edit mode.
protected  void appendReadOnlyOutput(java.lang.StringBuffer output)
          Builds the ouput which the tag must supply in ReadOnly mode.
protected  void appendTextAreaAttributes(java.lang.StringBuffer attributeBuffer)
          Appends the HTML Attributes specific to an input tag to the StringBuffer provided.
protected  java.lang.String getBaseCssClass()
           
 void setAlt(java.lang.String alt)
          Sets the alt for this TextAreaFieldTag.
 void setCols(java.lang.String cols)
          Sets the cols for this TextAreaFieldTag.
 void setMaxlength(java.lang.String maxlength)
          Sets the maxlength for this TextAreaFieldTag.
 void setOnselect(java.lang.String onselect)
          Sets the onselect for this TextAreaFieldTag.
 void setReadonly(java.lang.String readonly)
          Sets the readonly for this TextAreaFieldTag.
 void setRows(java.lang.String rows)
          Sets the rows for this TextAreaFieldTag.
 
Methods inherited from class net.sf.springlayout.web.layout.taglib.AbstractHtmlInputAttributesTag
addToFieldSet, appendCommonHtmlAttributes, appendContextSensitiveHelp, doFieldStartTag, getHelpMessage, isDisabled, setAccesskey, setDisabled, setHelpMessage, setHelpMessageKey, setOnblur, setOnfocus
 
Methods inherited from class net.sf.springlayout.web.layout.taglib.AbstractHtmlAttributesTag
appendAllApplicableCssClasses, appendAttribute, getCssClass, setCssClass, setCssErrorClass, setCssStyle, setDir, setLang, setMode, setOnchange, setOnclick, setOndblclick, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setTabindex, setTitle
 
Methods inherited from class net.sf.springlayout.web.layout.taglib.AbstractFieldTag
doStartTagInternal, getFieldDefinition, getGroupSize, getOutput, getWrappedCommand, isGroupedField, setEmptyDisplayString, setOutput
 
Methods inherited from class net.sf.springlayout.web.layout.taglib.LayoutBindTag
doEndTag, doFinally, getEditor, getErrors, getPath, getProperty, isIgnoreNestedPath, setIgnoreNestedPath, setPath
 
Methods inherited from class org.springframework.web.servlet.tags.HtmlEscapingAwareTag
isHtmlEscape, setHtmlEscape
 
Methods inherited from class org.springframework.web.servlet.tags.RequestContextAwareTag
doCatch, doStartTag, getRequestContext
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAXLENGTH_ATTRIBUTE

public static final java.lang.String MAXLENGTH_ATTRIBUTE
The name of the 'maxlength' attribute.

See Also:
Constant Field Values

ALT_ATTRIBUTE

public static final java.lang.String ALT_ATTRIBUTE
The name of the 'alt' attribute.

See Also:
Constant Field Values

READONLY_ATTRIBUTE

public static final java.lang.String READONLY_ATTRIBUTE
The name of the 'readonly' attribute.

See Also:
Constant Field Values

ROWS_ATTRIBUTE

public static final java.lang.String ROWS_ATTRIBUTE
The name of the 'rows' attribute.

See Also:
Constant Field Values

COLS_ATTRIBUTE

public static final java.lang.String COLS_ATTRIBUTE
The name of the 'cols' attribute.

See Also:
Constant Field Values

ONSELECT_ATTRIBUTE

public static final java.lang.String ONSELECT_ATTRIBUTE
The name of the 'onselect' attribute.

See Also:
Constant Field Values
Constructor Detail

TextAreaFieldTag

public TextAreaFieldTag()
Method Detail

setAlt

public void setAlt(java.lang.String alt)
Sets the alt for this TextAreaFieldTag.

Parameters:
alt - Sets the alt for this TextAreaFieldTag.

setCols

public void setCols(java.lang.String cols)
Sets the cols for this TextAreaFieldTag.

Parameters:
cols - Sets the cols for this TextAreaFieldTag.

setMaxlength

public void setMaxlength(java.lang.String maxlength)
Sets the maxlength for this TextAreaFieldTag.

Parameters:
maxlength - Sets the maxlength for this TextAreaFieldTag.

setOnselect

public void setOnselect(java.lang.String onselect)
Sets the onselect for this TextAreaFieldTag.

Parameters:
onselect - Sets the onselect for this TextAreaFieldTag.

setReadonly

public void setReadonly(java.lang.String readonly)
Sets the readonly for this TextAreaFieldTag.

Parameters:
readonly - Sets the readonly for this TextAreaFieldTag.

setRows

public void setRows(java.lang.String rows)
Sets the rows for this TextAreaFieldTag.

Parameters:
rows - Sets the rows for this TextAreaFieldTag.

appendEditModeOutput

protected void appendEditModeOutput(java.lang.StringBuffer output)
Description copied from class: AbstractFieldTag
Builds the ouput which the tag must supply in Edit mode.

Specified by:
appendEditModeOutput in class AbstractFieldTag

appendReadOnlyOutput

protected void appendReadOnlyOutput(java.lang.StringBuffer output)
Description copied from class: AbstractFieldTag
Builds the ouput which the tag must supply in ReadOnly mode.

Overrides:
appendReadOnlyOutput in class AbstractFieldTag

appendTextAreaAttributes

protected void appendTextAreaAttributes(java.lang.StringBuffer attributeBuffer)
Appends the HTML Attributes specific to an input tag to the StringBuffer provided.

Parameters:
attributeBuffer - the StringBuffer to append the HTML Attributes to.

getBaseCssClass

protected java.lang.String getBaseCssClass()
Specified by:
getBaseCssClass in class AbstractHtmlAttributesTag


Copyright © 2005-2007 Spring Layout Team. All Rights Reserved.