IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.gui.jsptags
Class SelectTableTag

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.DSETableTagSupport
              extended by com.ibm.btt.gui.jsptags.SelectTableTag
All Implemented Interfaces:
java.io.Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag

public class SelectTableTag
extends DSETableTagSupport

This class implements the SelectTableTag that create tables selectable lines.

The tag attributes that can be associated with the SelectTableTag:

SelectTableTag builds a Table with, for each row, a "select" button. The table contains a hidden input field that receives the value of the dataNameForValue value of the selected row.

The DataElement that receives this value in the context is specified by the dataName property. For input buttons, the selection buttons can acccess the dse:form and submit it.

See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
           
protected  java.lang.String dataNameForValue
          The attribute dataNameForValue
protected  java.lang.String event
          The attribute event
protected  java.lang.String type
          The attribute type, with "button" as default
protected  java.lang.String value
          The attribute value, with "Select" as default
protected  java.lang.String width
          The attribute width
 
Fields inherited from class com.ibm.btt.gui.jsptags.DSETableTagSupport
border, CA_CA, CA_TA, CA_WA, cellBGColor, cellBGColor2, cellpadding, cellspacing, colAlignments, colSizes, CT_CLOSE, CT_OPEN, dataNameForList, end, headerAlignment, headerBGColor, headerFontColor, headerFontFace, headerFontSize, headers, ic, showCaption, showHeaders, skipCols, start, TB_TA, TBG_TA, TCP_TA, TCS_TA, TDT_CLOSE, TDT_OPEN, THT_CLOSE, THT_OPEN, TRT_CLOSE, TRT_OPEN, TT_CLOSE, TT_OPEN, TW_TA
 
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
SelectTableTag()
          SelectTableTag constructor.
 
Method Summary
 void doForIndexedCollection()
          Processes the selection when the IndexedCollection specified by the dataNameForList property contains KeyedCollections.
 void doForKeyedCollection()
          Processes the selection when the IndexedCollection specified by the dataNameForList property contains KeyedCollections.
 void doRowsForIndexedCollection()
          Processes the selection when the IndexedCollection specified by the dataNameForList property contains IndexedCollections for all the elements of the IndexedCollection.
 void doRowsForKeyedCollection()
          Processes the selection when the IndexedCollection specified by the dataNameForList property contains KeyedCollections for all the elements of the IndexedCollection.
 void setDataNameForValue(java.lang.String newDataNameForValue)
          Sets the dataNameForValue property with a new value.
 void setEvent(java.lang.String newEvent)
          Sets the event property with a new value.
 void setType(java.lang.String newType)
          Sets the type property with a new value.
 void setValue(java.lang.String newValue)
          Sets the value property with a new value.
 void setWidth(java.lang.String newWidth)
          Sets the width property with a new value.
 
Methods inherited from class com.ibm.btt.gui.jsptags.DSETableTagSupport
bufferAppendHeaderFontEnd, bufferAppendHeaderFontStart, bufferAppendHeaders, bufferAppendHeaders, bufferAppendTDOpen, bufferAppendTROpen, doStartTag, getColAligns, getColWidths, getStringValue, setBorder, setCellBGColor, setCellBGColor2, setCellpadding, setCellspacing, setColAlignments, setColSizes, setDataNameForList, setEnd, setHeaderAlignment, setHeaderBGColor, setHeaderFontColor, setHeaderFontFace, setHeaderFontSize, setHeaders, setShowCaption, setShowHeaders, setSkipCols, setStart
 
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

type

protected java.lang.String type
The attribute type, with "button" as default


value

protected java.lang.String value
The attribute value, with "Select" as default


event

protected java.lang.String event
The attribute event


dataNameForValue

protected java.lang.String dataNameForValue
The attribute dataNameForValue


width

protected java.lang.String width
The attribute width

Constructor Detail

SelectTableTag

public SelectTableTag()
SelectTableTag constructor.

Method Detail

doForIndexedCollection

public void doForIndexedCollection()
                            throws java.io.IOException,
                                   DSEObjectNotFoundException,
                                   DSETypeException
Processes the selection when the IndexedCollection specified by the dataNameForList property contains KeyedCollections.

Specified by:
doForIndexedCollection in class DSETableTagSupport
Throws:
java.io.IOException
DSEObjectNotFound
DSETypeException
DSEObjectNotFoundException

doForKeyedCollection

public void doForKeyedCollection()
                          throws java.io.IOException,
                                 DSEObjectNotFoundException,
                                 DSETypeException
Processes the selection when the IndexedCollection specified by the dataNameForList property contains KeyedCollections.

Specified by:
doForKeyedCollection in class DSETableTagSupport
Throws:
java.io.IOException
DSEObjectNotFound
DSETypeException
DSEObjectNotFoundException

doRowsForIndexedCollection

public void doRowsForIndexedCollection()
                                throws java.io.IOException,
                                       DSEObjectNotFoundException,
                                       DSETypeException
Processes the selection when the IndexedCollection specified by the dataNameForList property contains IndexedCollections for all the elements of the IndexedCollection.

Throws:
java.io.IOException
DSEObjectNotFound
DSETypeException
DSEObjectNotFoundException

doRowsForKeyedCollection

public void doRowsForKeyedCollection()
                              throws java.io.IOException,
                                     DSEObjectNotFoundException,
                                     DSETypeException
Processes the selection when the IndexedCollection specified by the dataNameForList property contains KeyedCollections for all the elements of the IndexedCollection.

Throws:
java.io.IOException
DSEObjectNotFound
DSETypeException
DSEObjectNotFoundException

setDataNameForValue

public void setDataNameForValue(java.lang.String newDataNameForValue)
Sets the dataNameForValue property with a new value.

Parameters:
newDataNameForValue - The new value

setEvent

public void setEvent(java.lang.String newEvent)
Sets the event property with a new value.

Parameters:
newEvent - The new value

setType

public void setType(java.lang.String newType)
Sets the type property with a new value.

Parameters:
newType - The new value

setValue

public void setValue(java.lang.String newValue)
Sets the value property with a new value.

Parameters:
newDataName - The new value

setWidth

public void setWidth(java.lang.String newWidth)
Sets the width property with a new value.

Overrides:
setWidth in class DSETableTagSupport
Parameters:
newWidth - The new value

IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2009