RepeaterHeader Class

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

public class RepeaterHeader

    extends RepeaterComponent

This tag is used to render the header of a Repeater. This header may contain any markup or tags that can be rendered to a page. In the case of starting a table, ordered list, or unordered list, the HTML elements <table>, <ol>, and <ul> could respectively be rendered inside the body of this tag. There is no data item present at the time that the RepeaterHeader renders, so tags in the body can not reference the container databinding context to access a current item or index, though other databinding contexts are available.

The RepeaterHeader renders exactly once in a table during the Repeater tag's Repeater.HEADER rendering state.

Related Topics

<netui-data:repeater> Tag Sample
Presenting Complex Data Sets in JSPs (Repeater Tags section)
Repeater
RepeaterItem
RepeaterFooter


Hierarchy
Object
  TagSupport
    BodyTagSupport
      AbstractBaseTag
        StructuredBaseTag
          RepeaterComponent
            RepeaterHeader
All Implemented Interfaces

BodyTag, IterationTag, Serializable, Tag

Field Summary

   
Fields from  com.bea.wlw.netui.tags.databinding.repeater.RepeaterComponent
debug
 
Fields from  com.bea.wlw.netui.tags.databinding.base.StructuredBaseTag
EMPTY_STRING
 
Fields from  com.bea.wlw.netui.tags.AbstractBaseTag
ATTR_GENERAL, ATTR_GENERAL_EXPRESSION, ATTR_JAVASCRIPT, ATTR_STYLE, CLASS, ID, JAVASCRIPT_STATUS, NAME, NETUI_UNIQUE_CNT, ONCLICK, ONDBLCLICK, ONKEYDOWN, ONKEYPRESS, ONKEYUP, ONMOUSEDOWN, ONMOUSEMOVE, ONMOUSEOUT, ONMOUSEOVER, ONMOUSEUP, STYLE, TABINDEX
 
Fields from  javax.servlet.jsp.tagext.BodyTagSupport
bodyContent
 
Fields from  javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields from interface javax.servlet.jsp.tagext.BodyTag
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
 
Fields from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
 
Fields from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 

Constructor Summary

RepeaterHeader()

 

Method Summary

public int
doAfterBody()
Render the content of the body to the Repeater tag.
public String
getTagName()
Get the name of this tag.
protected void
localRelease()
Reset all of the fields of this tag.
public int
renderStartTag(int state)
Render the start of this tag.
 
Methods from  com.bea.wlw.netui.tags.databinding.repeater.RepeaterComponent
getCurrentRenderState, getRepeater, getValidContainerType, prepare, renderEndTag
 
Methods from  com.bea.wlw.netui.tags.databinding.base.StructuredBaseTag
addContent, doEndTag, doStartTag, getContent, getCurrentRenderState, getValidContainerType, localRelease, prepare, renderEndTag, verifyAttributes, verifyStructure
 
Methods from  com.bea.wlw.netui.tags.AbstractBaseTag
addTagIdMapping, evaluateAttributeToString, filter, filter, getJavaScriptUtils, getNearestForm, getScriptReporter, getUserLocale, localRelease, registerTagError, release, renderAttribute, rewriteName, write
 
Methods from  javax.servlet.jsp.tagext.BodyTagSupport
doAfterBody, doEndTag, doInitBody, doStartTag, getBodyContent, getPreviousOut, release, setBodyContent
 
Methods from  javax.servlet.jsp.tagext.TagSupport
doAfterBody, doEndTag, doStartTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue
 
Methods from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
   
Methods from interface javax.servlet.jsp.tagext.BodyTag
doInitBody, setBodyContent
 
Methods from interface javax.servlet.jsp.tagext.IterationTag
doAfterBody
 
Methods from interface javax.servlet.jsp.tagext.Tag
doEndTag, doStartTag, getParent, release, setPageContext, setParent
 

Constructor Detail

RepeaterHeader

public RepeaterHeader()
 

Method Detail

doAfterBody() Method

public int doAfterBody()
Render the content of the body to the Repeater tag.

Overrides
RepeaterComponent.doAfterBody()

Returns

SKIP_BODY

getTagName() Method

public String getTagName()
Get the name of this tag. This is used to identify the type of this tag for reporting tag errors.

Overrides
AbstractBaseTag.getTagName()

Returns

a constant String representing the name of this tag.

localRelease() Method

protected void localRelease()
Description copied from RepeaterComponent.localRelease()
Reset all of the fields of this tag.

Overrides
RepeaterComponent.localRelease()

renderStartTag(int) Method

public int renderStartTag(int state)
Render the start of this tag. If the repeater render state is Repeater.HEADER, the body is evaluated. Otherwise, the body is skipped.

Overrides
StructuredBaseTag.renderStartTag(int)

Returns

SKIP_BODY unless the repeater render state is Repeater.HEADER, then EVAL_BODY_BUFFERED