IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.gui.jsptags
Class DSETagSupport

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by com.ibm.btt.gui.jsptags.DSETagSupport
All Implemented Interfaces:
java.io.Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag
Direct Known Subclasses:
AddBundleTag, CheckBoxTag, DSELinkTagSupport, DSEListTagSupport, DSETableTagSupport, FieldDescriptionTag, FieldErrorTag, InputButtonTag, LabelTag, RadioButtonTag, ResourceTag, TextAreaTag, TextFieldTag, ValidationErrorsTag, WebMonitorTag

public abstract class DSETagSupport
extends javax.servlet.jsp.tagext.TagSupport

This class implements DSETagSupport, that extends the javax.servlet.jsp.tagext.TagSupport class, and provides abstract behaviour for all Custom Tags accessing data in the WSBCC Context hierarchy. All WSBCC Custom Tags will use JspContextServices in order to access data in the WSBCC Context hierarchy, the class (JSPContextServices) has to be initialize once per JSP Page. The DSETagSupport provides access to this class, initializing it if required.

See Also:
Serialized Form

Field Summary
static int APPLICATION_SCOPE
          To assign as the scope the application
protected static java.lang.String BR_RE
          The HTML blank line
protected static java.lang.String BT_CLOSE
          The HTML button element close
protected static java.lang.String BT_OPEN
          The HTML button element open
protected  java.lang.StringBuffer buffer
          The stringbuffer with the contents of the page
static java.lang.String BUTTON
          The static for the word: button
static java.lang.String CENTER
          The static for the word: center
protected static java.lang.String COMMENT_VAL_ERROR
          The HTML comment: "dse:valErr
static java.lang.String COPYRIGHT
           
protected  java.lang.String custom
          The attribute custom
protected  java.lang.String dataName
          The attribute dataName
protected static java.lang.String DOC_CLOSE
          The static for a semicolon mark
protected static java.lang.String DOC_FORM_EVENT
          The HTML onClick attribute value: "this.form.dse_nextEventName.value="
protected static java.lang.String DOC_FORM_HALF1
          The HTML onClick attribute value: "this.form."
protected static java.lang.String DOC_FORM_HALF2
          The HTML onClick attribute value: ".value="
protected static java.lang.String DOC_SUBMIT
          The HTML onClick attribute value: "this.form.submit();"
protected static java.lang.String DOT
          The static for a dot
protected static java.lang.String ERRORCOLOR
          The HTML input element attribute: color with "orangered" as default value
protected static java.lang.String FCLTA
          The HTML font element attribute: class
protected static java.lang.String FCTA
          The HTML font element attribute: color
protected static java.lang.String FFTA
          The HTML font element attribute: face
protected  java.lang.String fontColor
          The attribute fontColor
protected  java.lang.String fontFace
          The attribute fontFace
protected  java.lang.String fontSize
          The attribute fontSize
protected static java.lang.String FSTA
          The HTML font element attribute: size
protected static java.lang.String FT_CLOSE
          The HTML font element close
protected static java.lang.String FT_OPEN
          The HTML font element open
static java.lang.String HARD
          The static for the word: hard
protected static java.lang.String IBT_OPEN
          The HTML input element typed button with attribute: name
protected static java.lang.String ICKT_OPEN
          The HTML input element typed checkbox with attribute: name
protected static java.lang.String IHT_OPEN
          The HTML input element typed hidden with attribute: name
protected static java.lang.String IIT_OPEN
          The HTML input element typed image with attribute: name
static java.lang.String IMAGE
          The static for the word: image
protected static java.lang.String IPT_OPEN
          The HTML input element typed password with attribute: name
protected static java.lang.String IRAT_OPEN
          The HTML input element typed radio with attribute: name
protected static java.lang.String IRT_OPEN
          The HTML input element typed reset with attribute: name
protected static java.lang.String IST_OPEN
          The HTML input element typed submit with attribute: name
protected static java.lang.String IT_CA
          The HTML input element attribute: class
protected static java.lang.String IT_CHECKED
          The HTML input element attribute: checked
protected static java.lang.String IT_DISA
          The HTML input element attribute: disabled
protected static java.lang.String IT_MA
          The HTML input element attribute: maxlength
protected static java.lang.String IT_NA
          The HTML input element attribute: name
protected static java.lang.String IT_OA
          The HTML input element attribute: onClick
protected static java.lang.String IT_OPEN
          The HTML input element with attribute: type
protected static java.lang.String IT_READ
          The HTML input element attribute: readonly as the only one attribute
protected static java.lang.String IT_READONLY
          The HTML input element attribute: readonly
protected static java.lang.String IT_SA
          The HTML input element attribute: size
protected static java.lang.String IT_SRA
          The HTML input element attribute: src
protected static java.lang.String IT_VA
          The HTML input element attribute: value
protected static java.lang.String IT_WA
          The HTML input element attribute: width
protected static java.lang.String ITT_OPEN
          The HTML input element typed text with attribute: name
static java.lang.String LEFT
          The static for the word: left
protected static java.lang.String LO_CLOSE
           
protected static java.lang.String LO_RE
          The static for a greaterthan mark and a carry return
protected static java.lang.String LOWT
          The static for a greaterthan mark
protected static java.lang.String msgPrefix
          The prefix string at the exception messages
protected  java.lang.String name
          The attribute name
static java.lang.String NBSP
          The static for HTML space
static java.lang.String NO
          The static for the word: no
static java.lang.String NULL
          The static for empty
static java.lang.String OFF
          The static for the word: off
protected  javax.servlet.jsp.JspWriter out
          The JSPWriter to render the page
static int PAGE_SCOPE
          To assign as the scope the page
protected static java.lang.String QU_LO
          The static for a quotation mark plus a greaterthan mark
protected static java.lang.String QU_LO_CLOSE_RE
           
protected static java.lang.String QU_LO_RE
          The static for a quotation mark plus a greaterthan mark and a carry return
protected static java.lang.String QU_SP
          The static for a quotation mark plus a blank space
protected static java.lang.String QUOT
          The static for a quotation mark
static int REQUEST_SCOPE
          To assign as the scope the request
static java.lang.String RESET
          The static for the word: reset
protected static java.lang.String RET
          The static for a carry return
static java.lang.String RIGHT
          The static for the word: right
static int SESSION_SCOPE
          To assign as the scope the session
static java.lang.String SOFT
          The static for the word: soft
protected static java.lang.String SP
          The static for a blank space
protected  java.lang.String styleName
          The attribute style
static java.lang.String SUBMIT
          The static for the word: submit
protected static java.lang.String TAT_CA
          The HTML textarea element attribute: cols
protected static java.lang.String TAT_CLOSE
          The HTML textarea element close
protected static java.lang.String TAT_OPNE
          The HTML textarea element open
protected static java.lang.String TAT_RA
          The HTML textarea element attribute: rows
protected static java.lang.String TAT_WA
          The HTML textarea element attribute: wrap
protected  java.util.ResourceBundle valErrBundle
          The resourcebundle for some tags
static java.lang.String YES
          The static for the word: 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
DSETagSupport()
          DSETagSupport constructor.
 
Method Summary
 void bufferAppendFontEnd()
          Appends the end font tag to the buffer.
 void bufferAppendFontStart()
          Appends the start font tag to the buffer.
 JspContextServices getJspContextServices()
          Returns an instance of JspContextServices called "utb" in the JSP pageContext.
 java.lang.String getName()
          Returns the value of the name property.
 java.util.ResourceBundle getResourceBundle()
          Returns a resource bundle
 void setCustom(java.lang.String newCustom)
          Sets the custom property with a new value.
 void setDataName(java.lang.String newDataName)
          Sets the dataName property with a new value.
 void setFontColor(java.lang.String newFontColor)
          Sets the fontColor property with a new value.
 void setFontFace(java.lang.String newFontFace)
          Sets the fontFace property with a new value.
 void setFontSize(java.lang.String newFontSize)
          Sets the fontSize property with a new value.
 void setName(java.lang.String newName)
          Sets the name property with a new value.
 void setPageContext(javax.servlet.jsp.PageContext newPageContext)
          Sets the pageContext property with a new value, and obtain the JSPWriter for this pageContext.
 void setResourceBundle(java.util.ResourceBundle newResourceBundle)
          Sets a new resource bundle given
 void setResourceBundle(java.util.ResourceBundle newResourceBundle, int scope)
          Sets a new resource bundle given for the scope given.
 void setStyle(java.lang.String newstyleName)
          Sets the styleName property with a new value.
 void setVEResourceBundle(java.lang.String newResourceBundle)
          Sets a new resource bundle given just for the cross Validation Errors.
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, doEndTag, doStartTag, 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

out

protected javax.servlet.jsp.JspWriter out
The JSPWriter to render the page


buffer

protected java.lang.StringBuffer buffer
The stringbuffer with the contents of the page


valErrBundle

protected java.util.ResourceBundle valErrBundle
The resourcebundle for some tags


name

protected java.lang.String name
The attribute name


styleName

protected java.lang.String styleName
The attribute style


dataName

protected java.lang.String dataName
The attribute dataName


custom

protected java.lang.String custom
The attribute custom


fontFace

protected java.lang.String fontFace
The attribute fontFace


fontSize

protected java.lang.String fontSize
The attribute fontSize


fontColor

protected java.lang.String fontColor
The attribute fontColor


YES

public static final java.lang.String YES
The static for the word: yes

See Also:
Constant Field Values

NO

public static final java.lang.String NO
The static for the word: no

See Also:
Constant Field Values

NULL

public static final java.lang.String NULL
The static for empty

See Also:
Constant Field Values

OFF

public static final java.lang.String OFF
The static for the word: off

See Also:
Constant Field Values

HARD

public static final java.lang.String HARD
The static for the word: hard

See Also:
Constant Field Values

SOFT

public static final java.lang.String SOFT
The static for the word: soft

See Also:
Constant Field Values

SUBMIT

public static final java.lang.String SUBMIT
The static for the word: submit

See Also:
Constant Field Values

IMAGE

public static final java.lang.String IMAGE
The static for the word: image

See Also:
Constant Field Values

RESET

public static final java.lang.String RESET
The static for the word: reset

See Also:
Constant Field Values

BUTTON

public static final java.lang.String BUTTON
The static for the word: button

See Also:
Constant Field Values

LEFT

public static final java.lang.String LEFT
The static for the word: left

See Also:
Constant Field Values

RIGHT

public static final java.lang.String RIGHT
The static for the word: right

See Also:
Constant Field Values

CENTER

public static final java.lang.String CENTER
The static for the word: center

See Also:
Constant Field Values

NBSP

public static final java.lang.String NBSP
The static for HTML space

See Also:
Constant Field Values

QUOT

protected static final java.lang.String QUOT
The static for a quotation mark

See Also:
Constant Field Values

LOWT

protected static final java.lang.String LOWT
The static for a greaterthan mark

See Also:
Constant Field Values

QU_LO

protected static final java.lang.String QU_LO
The static for a quotation mark plus a greaterthan mark

See Also:
Constant Field Values

LO_CLOSE

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

QU_LO_CLOSE_RE

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

LO_RE

protected static final java.lang.String LO_RE
The static for a greaterthan mark and a carry return

See Also:
Constant Field Values

QU_LO_RE

protected static final java.lang.String QU_LO_RE
The static for a quotation mark plus a greaterthan mark and a carry return

See Also:
Constant Field Values

DOT

protected static final java.lang.String DOT
The static for a dot

See Also:
Constant Field Values

SP

protected static final java.lang.String SP
The static for a blank space

See Also:
Constant Field Values

QU_SP

protected static final java.lang.String QU_SP
The static for a quotation mark plus a blank space

See Also:
Constant Field Values

RET

protected static final java.lang.String RET
The static for a carry return

See Also:
Constant Field Values

FT_OPEN

protected static final java.lang.String FT_OPEN
The HTML font element open

See Also:
Constant Field Values

FCLTA

protected static final java.lang.String FCLTA
The HTML font element attribute: class

See Also:
Constant Field Values

FCTA

protected static final java.lang.String FCTA
The HTML font element attribute: color

See Also:
Constant Field Values

FSTA

protected static final java.lang.String FSTA
The HTML font element attribute: size

See Also:
Constant Field Values

FFTA

protected static final java.lang.String FFTA
The HTML font element attribute: face

See Also:
Constant Field Values

FT_CLOSE

protected static final java.lang.String FT_CLOSE
The HTML font element close

See Also:
Constant Field Values

IT_OPEN

protected static final java.lang.String IT_OPEN
The HTML input element with attribute: type

See Also:
Constant Field Values

ITT_OPEN

protected static final java.lang.String ITT_OPEN
The HTML input element typed text with attribute: name

See Also:
Constant Field Values

IPT_OPEN

protected static final java.lang.String IPT_OPEN
The HTML input element typed password with attribute: name

See Also:
Constant Field Values

IBT_OPEN

protected static final java.lang.String IBT_OPEN
The HTML input element typed button with attribute: name

See Also:
Constant Field Values

IST_OPEN

protected static final java.lang.String IST_OPEN
The HTML input element typed submit with attribute: name

See Also:
Constant Field Values

IRT_OPEN

protected static final java.lang.String IRT_OPEN
The HTML input element typed reset with attribute: name

See Also:
Constant Field Values

IIT_OPEN

protected static final java.lang.String IIT_OPEN
The HTML input element typed image with attribute: name

See Also:
Constant Field Values

IHT_OPEN

protected static final java.lang.String IHT_OPEN
The HTML input element typed hidden with attribute: name

See Also:
Constant Field Values

ICKT_OPEN

protected static final java.lang.String ICKT_OPEN
The HTML input element typed checkbox with attribute: name

See Also:
Constant Field Values

IRAT_OPEN

protected static final java.lang.String IRAT_OPEN
The HTML input element typed radio with attribute: name

See Also:
Constant Field Values

IT_NA

protected static final java.lang.String IT_NA
The HTML input element attribute: name

See Also:
Constant Field Values

IT_WA

protected static final java.lang.String IT_WA
The HTML input element attribute: width

See Also:
Constant Field Values

IT_SA

protected static final java.lang.String IT_SA
The HTML input element attribute: size

See Also:
Constant Field Values

IT_SRA

protected static final java.lang.String IT_SRA
The HTML input element attribute: src

See Also:
Constant Field Values

IT_VA

protected static final java.lang.String IT_VA
The HTML input element attribute: value

See Also:
Constant Field Values

IT_CA

protected static final java.lang.String IT_CA
The HTML input element attribute: class

See Also:
Constant Field Values

IT_OA

protected static final java.lang.String IT_OA
The HTML input element attribute: onClick

See Also:
Constant Field Values

IT_MA

protected static final java.lang.String IT_MA
The HTML input element attribute: maxlength

See Also:
Constant Field Values

IT_READONLY

protected static final java.lang.String IT_READONLY
The HTML input element attribute: readonly

See Also:
Constant Field Values

IT_CHECKED

protected static final java.lang.String IT_CHECKED
The HTML input element attribute: checked

See Also:
Constant Field Values

IT_DISA

protected static final java.lang.String IT_DISA
The HTML input element attribute: disabled

See Also:
Constant Field Values

IT_READ

protected static final java.lang.String IT_READ
The HTML input element attribute: readonly as the only one attribute

See Also:
Constant Field Values

BT_OPEN

protected static final java.lang.String BT_OPEN
The HTML button element open

See Also:
Constant Field Values

BT_CLOSE

protected static final java.lang.String BT_CLOSE
The HTML button element close

See Also:
Constant Field Values

ERRORCOLOR

protected static final java.lang.String ERRORCOLOR
The HTML input element attribute: color with "orangered" as default value

See Also:
Constant Field Values

TAT_OPNE

protected static final java.lang.String TAT_OPNE
The HTML textarea element open

See Also:
Constant Field Values

TAT_CLOSE

protected static final java.lang.String TAT_CLOSE
The HTML textarea element close

See Also:
Constant Field Values

TAT_CA

protected static final java.lang.String TAT_CA
The HTML textarea element attribute: cols

See Also:
Constant Field Values

TAT_RA

protected static final java.lang.String TAT_RA
The HTML textarea element attribute: rows

See Also:
Constant Field Values

TAT_WA

protected static final java.lang.String TAT_WA
The HTML textarea element attribute: wrap

See Also:
Constant Field Values

DOC_FORM_EVENT

protected static final java.lang.String DOC_FORM_EVENT
The HTML onClick attribute value: "this.form.dse_nextEventName.value="

See Also:
Constant Field Values

DOC_FORM_HALF1

protected static final java.lang.String DOC_FORM_HALF1
The HTML onClick attribute value: "this.form."

See Also:
Constant Field Values

DOC_FORM_HALF2

protected static final java.lang.String DOC_FORM_HALF2
The HTML onClick attribute value: ".value="

See Also:
Constant Field Values

DOC_SUBMIT

protected static final java.lang.String DOC_SUBMIT
The HTML onClick attribute value: "this.form.submit();"

See Also:
Constant Field Values

DOC_CLOSE

protected static final java.lang.String DOC_CLOSE
The static for a semicolon mark

See Also:
Constant Field Values

COMMENT_VAL_ERROR

protected static final java.lang.String COMMENT_VAL_ERROR
The HTML comment: "dse:valErr

See Also:
Constant Field Values

BR_RE

protected static final java.lang.String BR_RE
The HTML blank line

See Also:
Constant Field Values

msgPrefix

protected static final java.lang.String msgPrefix
The prefix string at the exception messages

See Also:
Constant Field Values

PAGE_SCOPE

public static final int PAGE_SCOPE
To assign as the scope the page

See Also:
Constant Field Values

REQUEST_SCOPE

public static final int REQUEST_SCOPE
To assign as the scope the request

See Also:
Constant Field Values

SESSION_SCOPE

public static final int SESSION_SCOPE
To assign as the scope the session

See Also:
Constant Field Values

APPLICATION_SCOPE

public static final int APPLICATION_SCOPE
To assign as the scope the application

See Also:
Constant Field Values
Constructor Detail

DSETagSupport

public DSETagSupport()
DSETagSupport constructor.

Method Detail

bufferAppendFontEnd

public void bufferAppendFontEnd()
Appends the end font tag to the buffer.


bufferAppendFontStart

public void bufferAppendFontStart()
Appends the start font tag to the buffer.


getJspContextServices

public JspContextServices getJspContextServices()
Returns an instance of JspContextServices called "utb" in the JSP pageContext. If this instance does not exist in the pageContext, this method will create and instance of com.ibm.btt.cs.html.DSEJspContextServices and initialize it with the HttpServletRequest Object.

If a different implementation of JspContextServices must be used, it must be defined as a jspbean called "utb&auot; at the beginning of each JSP, to do this use the following: <% utb.initialize(request); %> // <-- Not required, depend on the implementation.


getName

public java.lang.String getName()
Returns the value of the name property.

Returns:
java.lang.String - The value

getResourceBundle

public java.util.ResourceBundle getResourceBundle()
Returns a resource bundle

Returns:
ResourceBundle - The bundle

setCustom

public void setCustom(java.lang.String newCustom)
Sets the custom property with a new value.

Parameters:
newCustom - The new value

setDataName

public void setDataName(java.lang.String newDataName)
Sets the dataName property with a new value.

Parameters:
newDataName - The new value

setFontColor

public void setFontColor(java.lang.String newFontColor)
Sets the fontColor property with a new value.

Parameters:
newFontColor - The new value

setFontFace

public void setFontFace(java.lang.String newFontFace)
Sets the fontFace property with a new value.

Parameters:
newFontFace - The new value

setFontSize

public void setFontSize(java.lang.String newFontSize)
Sets the fontSize property with a new value.

Parameters:
newFontSize - The new value

setName

public void setName(java.lang.String newName)
Sets the name property with a new value.

Parameters:
newName - The new value

setPageContext

public void setPageContext(javax.servlet.jsp.PageContext newPageContext)
Sets the pageContext property with a new value, and obtain the JSPWriter for this pageContext.

Specified by:
setPageContext in interface javax.servlet.jsp.tagext.Tag
Overrides:
setPageContext in class javax.servlet.jsp.tagext.TagSupport
Parameters:
newPageContext - The new value

setResourceBundle

public void setResourceBundle(java.util.ResourceBundle newResourceBundle)
Sets a new resource bundle given

Parameters:
newResourceBundle - The new bundle

setResourceBundle

public void setResourceBundle(java.util.ResourceBundle newResourceBundle,
                              int scope)
Sets a new resource bundle given for the scope given.

Parameters:
newResourceBundle - The new bundle
scope - The scope

setStyle

public void setStyle(java.lang.String newstyleName)
Sets the styleName property with a new value.

Parameters:
newstyleName - The new value

setVEResourceBundle

public void setVEResourceBundle(java.lang.String newResourceBundle)
Sets a new resource bundle given just for the cross Validation Errors.

Parameters:
newResourceBundle - The new bundle

IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2009