BEA NetUI tags and APIs are included for backward compatibility only. For new applications, use the Beehive tags and APIs.

com.bea.wlw.netui.tags.databinding.repeater
Class RepeaterComponent

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by javax.servlet.jsp.tagext.BodyTagSupport
          extended by com.bea.wlw.netui.tags.AbstractBaseTag
              extended by com.bea.wlw.netui.tags.databinding.base.StructuredBaseTag
                  extended by com.bea.wlw.netui.tags.databinding.repeater.RepeaterComponent
All Implemented Interfaces:
HtmlConstants, Serializable, javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag
Direct Known Subclasses:
Choice, Pad, RepeaterFooter, RepeaterHeader, RepeaterItem

public abstract class RepeaterComponent
extends StructuredBaseTag

The base class for tags that are part of the Repeater tag set and participate in the structured nature of Repeater rendering. This class provides typed access to the Repeater tag and enforces the basic JSP tag parenting requirements of tags that can only be nested within the Repeater tag.

See Also:
StructuredBaseTag, Serialized Form

Field Summary
 
Fields inherited from class com.bea.wlw.netui.tags.databinding.base.StructuredBaseTag
EMPTY_STRING
 
Fields inherited from class com.bea.wlw.netui.tags.AbstractBaseTag
ATTR_GENERAL, ATTR_GENERAL_EXPRESSION, ATTR_JAVASCRIPT, ATTR_STYLE, JAVASCRIPT_STATUS, NETUI_UNIQUE_CNT
 
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport
bodyContent
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields inherited from interface com.bea.wlw.netui.tags.html.HtmlConstants
ACCEPT, ACCESSKEY, ACTION, ALIGN, ALINK, ALT, ANCHOR, BACKGROUND, BASE, BGCOLOR, BODY, BORDER, BR, CAPTION, CELLPADDING, CELLSPACING, CHAR, CHAROFF, CHARSET, CHECKED, CLASS, COLS, COORDS, DIR, DISABLED, DIV, ENCTYPE, FOR, FORM, FORM_GET, FORM_POST, FRAME, HEIGHT, HREF, HREFLANG, HSPACE, HTML, ID, IMAGE, INPUT, INPUT_BUTTON, INPUT_CHECKBOX, INPUT_FILE, INPUT_HIDDEN, INPUT_IMAGE, INPUT_PASSWORD, INPUT_RADIO, INPUT_RESET, INPUT_SUBMIT, INPUT_TEXT, ISMAP, LABEL, LANG, LINK, LONGDESC, MAXLENGTH, METHOD, NAME, ONBLUR, ONCHANGE, ONCLICK, ONDBLCLICK, ONFOCUS, ONKEYDOWN, ONKEYPRESS, ONKEYUP, ONLOAD, ONMOUSEDOWN, ONMOUSEMOVE, ONMOUSEOUT, ONMOUSEOVER, ONMOUSEUP, ONRESET, ONSELECT, ONSUBMIT, ONUNLOAD, OPTION, READONLY, REL, REV, ROWS, RULES, SELECT, SHAPE, SIZE, SPAN, SRC, STYLE, SUMMARY, TABINDEX, TABLE, TARGET, TD, TEXT, TEXTAREA, TITLE, TR, TYPE, USEMAP, VALIGN, VALUE, VLINK, VSPACE, WIDTH
 
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
 
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
RepeaterComponent()
           
 
Method Summary
 int doAfterBody()
          Default implementation of this JSP lifecycle method.
protected  int getCurrentRenderState()
          Get the render state of the nearest structured tag.
protected  Repeater getRepeater()
          Get the Repeater parent of this tag.
protected  Class getValidContainerType()
          Default implementation of StructuredBaseTag.getValidContainerType() that enforces that the parent of this tag is the Repeater tag.
protected  void localRelease()
          Reset all of the fields of this tag.
protected  void prepare()
          Prepare data that is provided to subclasses of this tag.
protected  int renderEndTag(int state)
          Default implementation of StructuredBaseTag.renderEndTag(int).
 
Methods inherited from class com.bea.wlw.netui.tags.databinding.base.StructuredBaseTag
addContent, doEndTag, doStartTag, getContent, renderStartTag, verifyAttributes, verifyStructure
 
Methods inherited from class com.bea.wlw.netui.tags.AbstractBaseTag
addTagIdMapping, containsExpression, evaluateAttributeToString, evaluateExpression, filter, filter, formatErrorString, formatString, getAttribute, getErrorsReport, getExpressionEvaluator, getJavaScriptUtils, getNearestForm, getNextId, getQualifiedBundleName, getScriptReporter, getTagName, getUserLocale, hasErrors, isExpression, prepForRendering, registerAttribute, registerError, registerTagError, release, removeAttribute, renderAttribute, renderAttributes, reportErrors, rewriteName, setPageContext, updateExpression, write
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doInitBody, getBodyContent, getPreviousOut, setBodyContent
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
getParent, setParent
 

Constructor Detail

RepeaterComponent

public RepeaterComponent()
Method Detail

doAfterBody

public int doAfterBody()
                throws javax.servlet.jsp.JspException
Default implementation of this JSP lifecycle method.

Specified by:
doAfterBody in interface javax.servlet.jsp.tagext.IterationTag
Overrides:
doAfterBody in class javax.servlet.jsp.tagext.BodyTagSupport
Returns:
SKIP_BODY
Throws:
javax.servlet.jsp.JspException

localRelease

protected void localRelease()
Reset all of the fields of this tag.

Overrides:
localRelease in class StructuredBaseTag

renderEndTag

protected int renderEndTag(int state)
                    throws javax.servlet.jsp.JspException
Default implementation of StructuredBaseTag.renderEndTag(int). This returns EVAL_PAGE.

Specified by:
renderEndTag in class StructuredBaseTag
Parameters:
state - the current render state of the Repeater
Returns:
EVAL_PAGE
Throws:
javax.servlet.jsp.JspException - if an error occurs that can not be reported in the page

getRepeater

protected final Repeater getRepeater()
Get the Repeater parent of this tag.

Returns:
the Repeater parent of this tag

prepare

protected void prepare()
Prepare data that is provided to subclasses of this tag.

Overrides:
prepare in class StructuredBaseTag

getValidContainerType

protected Class getValidContainerType()
Default implementation of StructuredBaseTag.getValidContainerType() that enforces that the parent of this tag is the Repeater tag. Subclasses may override this method to further specialize the required container type.

Specified by:
getValidContainerType in class StructuredBaseTag
Returns:
the valid container type of a RepeaterComponent; the Repeater.class

getCurrentRenderState

protected int getCurrentRenderState()
Get the render state of the nearest structured tag. For subclasses of this tag, the nearest structured tag is the Repeater tag.

Specified by:
getCurrentRenderState in class StructuredBaseTag
Returns:
the current render state of the Repeater

BEA NetUI tags and APIs are included for backward compatibility only. For new applications, use the Beehive tags and APIs.