public class SubSidebarTag extends SidebarTag
A simple tag to gather its body content and pass it to the parent tag. This tag must be used
as a child of the SidebarTag.
Sample usage:
<jive:sidebar bean="jivepageinfo">
<a href="[url]" title="[description]">[name]</a>
<jive:subsidebar>
<a href="[url]">[name]</a>
</jive:subsidebar>
</jive:sidebar>
Note, this class has no attributes.
| Constructor and Description |
|---|
SubSidebarTag() |
| Modifier and Type | Method and Description |
|---|---|
int |
doEndTag()
Sets the 'body' property to be equal to the body content of this tag.
|
int |
doStartTag()
Looks for the parent SidebarTag class, throws an error if not found.
|
String |
getBody()
Returns the body content of this tag.
|
void |
setBody(String body)
Sets the body content of this tag.
|
getCss, getCurrentcss, getHeadercss, getSubsidebarTag, setCss, setCurrentcss, setHeadercss, setSubSidebardoAfterBody, doInitBody, getBodyContent, getPreviousOut, release, setBodyContentfindAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValuepublic String getBody()
public void setBody(String body)
public int doStartTag()
throws javax.servlet.jsp.JspException
BodyTag.EVAL_BODY_BUFFERED is returned.doStartTag in interface javax.servlet.jsp.tagext.TagdoStartTag in class SidebarTagBodyTag.EVAL_BODY_BUFFERED if no errors.javax.servlet.jsp.JspException - if a parent SidebarTag is not found.public int doEndTag()
throws javax.servlet.jsp.JspException
SidebarTag.setSubSidebar(SubSidebarTag) method of the parent tag.doEndTag in interface javax.servlet.jsp.tagext.TagdoEndTag in class SidebarTagTag.EVAL_PAGEjavax.servlet.jsp.JspException - if an error occurs.Copyright © 2003-2008 Jive Software.