public class LayoutRenderTag extends StripesTagSupport implements BodyTag, DynamicAttributes
pageContext, parentTagEVAL_BODY_BUFFERED, EVAL_BODY_TAGEVAL_BODY_AGAINEVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE| Constructor and Description |
|---|
LayoutRenderTag() |
| Modifier and Type | Method and Description |
|---|---|
void |
addComponent(String name,
String contents)
Allows nested tags to register their contents for rendering in the layout.
|
int |
doAfterBody()
Does nothing.
|
int |
doEndTag()
Invokes the named layout, providing it with the overridden components and provided
parameters.
|
void |
doInitBody()
Does nothing.
|
int |
doStartTag()
Pushes the values of any dynamic attributes into page context attributes for
the duration of the tag.
|
String |
getName()
Gets the name of the layout to be used.
|
void |
setBodyContent(BodyContent bodyContent)
Discards the body content since it is not used.
|
void |
setDynamicAttribute(String uri,
String localName,
Object value)
Used by the JSP container to provide the tag with dynamic attributes.
|
void |
setName(String name)
Sets the name of the layout to be used.
|
getActionBeanType, getActionBeanUrl, getPageContext, getParent, getParentTag, getTagStack, popPageContextAttributes, pushPageContextAttributes, release, setPageContext, setParentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetParent, release, setPageContext, setParentpublic String getName()
public void setName(String name)
public void setDynamicAttribute(String uri, String localName, Object value) throws JspException
setDynamicAttribute in interface DynamicAttributesJspExceptionpublic void addComponent(String name, String contents)
name - the name of the component to be overridden in the layoutcontents - the output that will be usedpublic int doStartTag()
throws JspException
doStartTag in interface TagdoStartTag in class StripesTagSupportJspExceptionpublic void setBodyContent(BodyContent bodyContent)
setBodyContent in interface BodyTagpublic void doInitBody()
throws JspException
doInitBody in interface BodyTagJspExceptionpublic int doAfterBody()
throws JspException
doAfterBody in interface IterationTagJspExceptionpublic int doEndTag()
throws JspException
doEndTag in interface TagdoEndTag in class StripesTagSupportJspException - if any exceptions are encountered processing the request© Copyright 2005-2006, Stripes Development Team.