|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.stripes.tag.StripesTagSupport
net.sourceforge.stripes.tag.layout.LayoutTag
public abstract class LayoutTag
Abstract base class for the tags that handle rendering of layouts.
Field Summary |
---|
Fields inherited from class net.sourceforge.stripes.tag.StripesTagSupport |
---|
pageContext, parentTag |
Fields inherited from interface javax.servlet.jsp.tagext.Tag |
---|
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
Constructor Summary | |
---|---|
LayoutTag()
|
Method Summary | ||
---|---|---|
void |
cleanUpComponentRenderers()
Pop this tag's page context off each of the component renderers' page context stacks. |
|
void |
exportComponentRenderers()
Starting from the outer-most context and working up the stack, put a reference to each component renderer by name into the page context and push this tag's page context onto the renderer's page context stack. |
|
String |
getCurrentPagePath()
Get the context-relative path of the page that invoked this tag. |
|
|
getLayoutParent()
Get the nearest ancestor of this tag that is an instance of LayoutTag . |
|
boolean |
isChildOfComponent()
True if the nearest ancestor of this tag that is an instance of LayoutTag is also an
instance of LayoutComponentTag . |
|
boolean |
isChildOfDefinition()
True if the nearest ancestor of this tag that is an instance of LayoutTag is also an
instance of LayoutDefinitionTag . |
|
boolean |
isChildOfRender()
True if the nearest ancestor of this tag that is an instance of LayoutTag is also an
instance of LayoutRenderTag . |
Methods inherited from class net.sourceforge.stripes.tag.StripesTagSupport |
---|
doEndTag, doStartTag, getActionBeanType, getActionBeanUrl, getPageContext, getParent, getParentTag, getTagStack, popPageContextAttributes, pushPageContextAttributes, release, setPageContext, setParent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LayoutTag()
Method Detail |
---|
public String getCurrentPagePath()
public boolean isChildOfRender()
LayoutTag
is also an
instance of LayoutRenderTag
.
public boolean isChildOfDefinition()
LayoutTag
is also an
instance of LayoutDefinitionTag
.
public boolean isChildOfComponent()
LayoutTag
is also an
instance of LayoutComponentTag
.
public <T extends LayoutTag> T getLayoutParent()
LayoutTag
. If no ancestor
of that type is found then null.
public void exportComponentRenderers()
public void cleanUpComponentRenderers()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |