public class LayoutRenderTag extends StripesTagSupport implements javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.DynamicAttributes
pageContext, parentTag| Constructor and Description |
|---|
LayoutRenderTag() |
| Modifier and Type | Method and Description |
|---|---|
void |
addComponent(java.lang.String name,
java.lang.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.
|
java.lang.String |
getName()
Gets the name of the layout to be used.
|
void |
setBodyContent(javax.servlet.jsp.tagext.BodyContent bodyContent)
Discards the body content since it is not used.
|
void |
setDynamicAttribute(java.lang.String uri,
java.lang.String localName,
java.lang.Object value)
Used by the JSP container to provide the tag with dynamic attributes.
|
void |
setName(java.lang.String name)
Sets the name of the layout to be used.
|
getActionBeanType, getActionBeanUrl, getPageContext, getParent, getParentTag, getTagStack, popPageContextAttributes, pushPageContextAttributes, release, setPageContext, setParentpublic java.lang.String getName()
public void setName(java.lang.String name)
public void setDynamicAttribute(java.lang.String uri,
java.lang.String localName,
java.lang.Object value)
throws javax.servlet.jsp.JspException
setDynamicAttribute in interface javax.servlet.jsp.tagext.DynamicAttributesjavax.servlet.jsp.JspExceptionpublic void addComponent(java.lang.String name,
java.lang.String contents)
name - the name of the component to be overridden in the layoutcontents - the output that will be usedpublic int doStartTag()
throws javax.servlet.jsp.JspException
doStartTag in interface javax.servlet.jsp.tagext.TagdoStartTag in class StripesTagSupportjavax.servlet.jsp.JspExceptionpublic void setBodyContent(javax.servlet.jsp.tagext.BodyContent bodyContent)
setBodyContent in interface javax.servlet.jsp.tagext.BodyTagpublic void doInitBody()
throws javax.servlet.jsp.JspException
doInitBody in interface javax.servlet.jsp.tagext.BodyTagjavax.servlet.jsp.JspExceptionpublic int doAfterBody()
throws javax.servlet.jsp.JspException
doAfterBody in interface javax.servlet.jsp.tagext.IterationTagjavax.servlet.jsp.JspExceptionpublic int doEndTag()
throws javax.servlet.jsp.JspException
doEndTag in interface javax.servlet.jsp.tagext.TagdoEndTag in class StripesTagSupportjavax.servlet.jsp.JspException - if any exceptions are encountered processing the request? Copyright 2005-2006, Stripes Development Team.