
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, setBodyContentfindAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValuepublic TabbedSectionTag()
public void release()
release in interface javax.servlet.jsp.tagext.Tagrelease in class javax.servlet.jsp.tagext.BodyTagSupportpublic 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.TagdoStartTag in class javax.servlet.jsp.tagext.BodyTagSupportjavax.servlet.jsp.JspTagExceptionpublic boolean isStateFindDefaultTab()
public boolean isStateGenerateTabMenu()
public boolean isStateGenerateTabBody()
public int doAfterBody() throws javax.servlet.jsp.JspTagException
doAfterBody in interface javax.servlet.jsp.tagext.IterationTagdoAfterBody in class javax.servlet.jsp.tagext.BodyTagSupport{@inheritDoc}javax.servlet.jsp.JspTagExceptionpublic int doEndTag() throws javax.servlet.jsp.JspTagException
doEndTag in interface javax.servlet.jsp.tagext.TagdoEndTag in class javax.servlet.jsp.tagext.BodyTagSupportjavax.servlet.jsp.JspTagExceptionCopyright © 2001-2019 The Apache Software Foundation. All rights reserved.