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
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
|
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.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 |
RepeaterHeader
public RepeaterHeader()
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