|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.servlet.jsp.tagext.TagSupport
com.ibm.btt.gui.jsptags.DSETagSupport
com.ibm.btt.gui.jsptags.TextFieldTag
public class TextFieldTag
This class implements the TextFieldTag as a JSP Tag element that defines input/output text fields.
The following tag attributes can be associated with the TextFieldTag:
The TextFieldTag gets the DataElement with Id dataName. If the DataElement has a value, this value is displayed in the text field. If the DataElement is read only, the text field is also be read only (only Internet Explorere uses these attributes).
When defined in a FormTag or an HTML Form Tag, the DataElement value is set with any value entered into the field.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT
|
protected static java.lang.String |
DEF_ST
The default style |
protected static java.lang.String |
ER_ST
The HTML style attribute |
protected java.lang.String |
error
The attribute error |
protected java.lang.String |
errorStyle
The attribute errorStyle |
protected java.lang.String |
isHidden
The attribute isHidden, with "no" as default value |
protected java.lang.String |
isPassword
The attribute isPassword, with "no" as default value |
protected java.lang.String |
maxLength
The attribute maxLength |
protected java.lang.String |
size
The attribute size |
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 | |
---|---|
TextFieldTag()
TextField constructor. |
Method Summary | |
---|---|
int |
doStartTag()
Processes the start tag for this instance. |
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 |
setIsHidden(java.lang.String newIsHidden)
Sets the isHidden property with a new value. |
void |
setIsPassword(java.lang.String newIsPassword)
Sets the isPassword property with a new value. |
void |
setMaxLength(java.lang.String newMaxLength)
Sets the maxLength property with a new value. |
void |
setSize(java.lang.String newSize)
Sets the size 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 |
---|
public static final java.lang.String COPYRIGHT
protected java.lang.String isPassword
protected java.lang.String isHidden
protected java.lang.String size
protected java.lang.String maxLength
protected java.lang.String error
protected java.lang.String errorStyle
protected static final java.lang.String ER_ST
protected static final java.lang.String DEF_ST
Constructor Detail |
---|
public TextFieldTag()
Method Detail |
---|
public int doStartTag()
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. 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, this method includes the result of evaluating the body (if any) in the current "out" JspWriter and then invokes doEndTag().
Refer to the class description for specific details about this method.
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class javax.servlet.jsp.tagext.TagSupport
public void setError(java.lang.String newError)
newError
- The new valuepublic void setErrorStyle(java.lang.String newErrorStyle)
newerrorStyle
- The new valuepublic void setIsHidden(java.lang.String newIsHidden)
newIsHidden
- The new valuepublic void setIsPassword(java.lang.String newIsPassword)
newIsPassword
- The new valuepublic void setMaxLength(java.lang.String newMaxLength)
newMaxLength
- The new valuepublic void setSize(java.lang.String newSize)
newSize
- The new value
|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |