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, setParent
public 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.DynamicAttributes
javax.servlet.jsp.JspException
public 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.Tag
doStartTag
in class StripesTagSupport
javax.servlet.jsp.JspException
public void setBodyContent(javax.servlet.jsp.tagext.BodyContent bodyContent)
setBodyContent
in interface javax.servlet.jsp.tagext.BodyTag
public void doInitBody() throws javax.servlet.jsp.JspException
doInitBody
in interface javax.servlet.jsp.tagext.BodyTag
javax.servlet.jsp.JspException
public int doAfterBody() throws javax.servlet.jsp.JspException
doAfterBody
in interface javax.servlet.jsp.tagext.IterationTag
javax.servlet.jsp.JspException
public int doEndTag() throws javax.servlet.jsp.JspException
doEndTag
in interface javax.servlet.jsp.tagext.Tag
doEndTag
in class StripesTagSupport
javax.servlet.jsp.JspException
- if any exceptions are encountered processing the request? Copyright 2005-2006, Stripes Development Team.