public class TabbedSectionTag extends javax.servlet.jsp.tagext.BodyTagSupport
Attributes
Constructor and Description |
---|
TabbedSectionTag() |
Modifier and Type | Method and Description |
---|---|
int |
doAfterBody()
The tabbed section iterates 3 time through the underlying Tab tags
- first it identifies the default tab (displayed by default)
- second it generates the tabmenu markup (displays all tab-titles)
- finally it generates the content of each tab.
|
int |
doEndTag() |
int |
doStartTag() |
boolean |
isStateFindDefaultTab()
Returns true, if the tab system is currently trying to
figure out which is the default tab.
|
boolean |
isStateGenerateTabBody()
Returns true, if the tab system is currently generating
the tab body.
|
boolean |
isStateGenerateTabMenu()
Returns true, if the tab system is currently generating
the tab menu.
|
void |
release() |
void |
setDefaultTab(String anDefaultTabId)
Set the id of the default tab (the tab which should be shown when
the page is first loaded).
|
boolean |
validateDefaultTab(String aTabId) |
doInitBody, getBodyContent, getPreviousOut, setBodyContent
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
public TabbedSectionTag()
public void release()
release
in interface javax.servlet.jsp.tagext.Tag
release
in class javax.servlet.jsp.tagext.BodyTagSupport
public void setDefaultTab(String anDefaultTabId)
anDefaultTabId
- ID attribute of the default tab.public boolean validateDefaultTab(String aTabId)
public int doStartTag() throws javax.servlet.jsp.JspTagException
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class javax.servlet.jsp.tagext.BodyTagSupport
javax.servlet.jsp.JspTagException
public boolean isStateFindDefaultTab()
public boolean isStateGenerateTabMenu()
public boolean isStateGenerateTabBody()
public int doAfterBody() throws javax.servlet.jsp.JspTagException
doAfterBody
in interface javax.servlet.jsp.tagext.IterationTag
doAfterBody
in class javax.servlet.jsp.tagext.BodyTagSupport
{@inheritDoc}
javax.servlet.jsp.JspTagException
public int doEndTag() throws javax.servlet.jsp.JspTagException
doEndTag
in interface javax.servlet.jsp.tagext.Tag
doEndTag
in class javax.servlet.jsp.tagext.BodyTagSupport
javax.servlet.jsp.JspTagException
Copyright © 2001-2018 The Apache Software Foundation. All rights reserved.