IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.gui.jsptags
Class TextAreaTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by com.ibm.btt.gui.jsptags.DSETagSupport
          extended by com.ibm.btt.gui.jsptags.TextAreaTag
All Implemented Interfaces:
java.io.Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag

public class TextAreaTag
extends DSETagSupport

This class implements the TextAreaTag that defines input/output text areas.

The following tag attributes can be associated with the TextAreaTag:

The TextAreaTag gets the DataElement with Id dataName. If the DataElement has a value, this value will be shown in the text field. If the DataElement is readonly the text field will also be readonly (Only IE uses these attributes).

When defined in a FormTag or an HTML Form Tag, the DataElement value will be set with any value input in the field.

See Also:
Serialized Form

Field Summary
protected  java.lang.String cols
          The number of columns of the HTML textarea
static java.lang.String COPYRIGHT
           
protected static java.lang.String DEF_ST
           
protected static java.lang.String ER_ST
           
protected  java.lang.String error
          The attribute error
protected  java.lang.String errorStyle
           
protected  java.lang.String rows
          The number of rows of the HTML textarea
protected  java.lang.String wrap
          The wrap property of the HMTL textarea
 
Fields inherited from class com.ibm.btt.gui.jsptags.DSETagSupport
APPLICATION_SCOPE, BR_RE, BT_CLOSE, BT_OPEN, buffer, BUTTON, CENTER, COMMENT_VAL_ERROR, custom, dataName, DOC_CLOSE, DOC_FORM_EVENT, DOC_FORM_HALF1, DOC_FORM_HALF2, DOC_SUBMIT, DOT, ERRORCOLOR, FCLTA, FCTA, FFTA, fontColor, fontFace, fontSize, FSTA, FT_CLOSE, FT_OPEN, HARD, IBT_OPEN, ICKT_OPEN, IHT_OPEN, IIT_OPEN, IMAGE, IPT_OPEN, IRAT_OPEN, IRT_OPEN, IST_OPEN, IT_CA, IT_CHECKED, IT_DISA, IT_MA, IT_NA, IT_OA, IT_OPEN, IT_READ, IT_READONLY, IT_SA, IT_SRA, IT_VA, IT_WA, ITT_OPEN, LEFT, LO_CLOSE, LO_RE, LOWT, msgPrefix, name, NBSP, NO, NULL, OFF, out, PAGE_SCOPE, QU_LO, QU_LO_CLOSE_RE, QU_LO_RE, QU_SP, QUOT, REQUEST_SCOPE, RESET, RET, RIGHT, SESSION_SCOPE, SOFT, SP, styleName, SUBMIT, TAT_CA, TAT_CLOSE, TAT_OPNE, TAT_RA, TAT_WA, valErrBundle, YES
 
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
TextAreaTag()
          TextArea constructor.
 
Method Summary
 int doStartTag()
          Processes the start tag for this instance.
 void setCols(java.lang.String newCols)
          Sets the cols property with a new value.
 void setError(java.lang.String newError)
          Sets the error property with a new value.
 void setErrorStyle(java.lang.String newErrorStyle)
          Sets the errorStyle property with a new value.
 void setRows(java.lang.String newRows)
          Sets the rows property with a new value.
 void setWrap(java.lang.String newWrap)
          Sets the wrap property with a new value.
 
Methods inherited from class com.ibm.btt.gui.jsptags.DSETagSupport
bufferAppendFontEnd, bufferAppendFontStart, getJspContextServices, getName, getResourceBundle, setCustom, setDataName, setFontColor, setFontFace, setFontSize, setName, setPageContext, setResourceBundle, setResourceBundle, setStyle, setVEResourceBundle
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
See Also:
Constant Field Values

cols

protected java.lang.String cols
The number of columns of the HTML textarea


rows

protected java.lang.String rows
The number of rows of the HTML textarea


wrap

protected java.lang.String wrap
The wrap property of the HMTL textarea


error

protected java.lang.String error
The attribute error


errorStyle

protected java.lang.String errorStyle

ER_ST

protected static final java.lang.String ER_ST
See Also:
Constant Field Values

DEF_ST

protected static final java.lang.String DEF_ST
See Also:
Constant Field Values
Constructor Detail

TextAreaTag

public TextAreaTag()
TextArea constructor.

Method Detail

doStartTag

public int doStartTag()
Processes the start tag for this instance. This method is invoked by the JSP page implementation object. The doStartTag method assumes that the properties pageContext and parent have been set. It also assumes that any properties exposed as attributes have been set too. When this method is invoked, the body has not yet been evaluated.

This method returns Tag.EVAL_BODY_INCLUDE or BodyTag.EVAL_BODY_BUFFERED to indicate that the body of the action should be evaluated or SKIP_BODY to indicate otherwise. When a Tag returns EVAL_BODY_INCLUDE the result of evaluating the body (if any) is included into the current "out" JspWriter as it happens and then doEndTag() is invoked.

Refer to the class description for specific details about this method.

Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doStartTag in class javax.servlet.jsp.tagext.TagSupport
Returns:
int - The evaluation constant

setCols

public void setCols(java.lang.String newCols)
Sets the cols property with a new value.

Parameters:
newCols - The new value

setError

public void setError(java.lang.String newError)
Sets the error property with a new value.

Parameters:
newError - The new value

setErrorStyle

public void setErrorStyle(java.lang.String newErrorStyle)
Sets the errorStyle property with a new value.

Parameters:
newErrorStyle - The new value

setRows

public void setRows(java.lang.String newRows)
Sets the rows property with a new value.

Parameters:
newRows - The new value

setWrap

public void setWrap(java.lang.String newWrap)
Sets the wrap property with a new value.

Parameters:
newWrap - The new value

IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2009