public abstract class LayoutTag extends StripesTagSupport
pageContext, parentTagEVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE| Constructor and Description |
|---|
LayoutTag() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
<T extends LayoutTag> |
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. |
doEndTag, doStartTag, getActionBeanType, getActionBeanUrl, getPageContext, getParent, getParentTag, getTagStack, popPageContextAttributes, pushPageContextAttributes, release, setPageContext, setParentpublic 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()
© Copyright 2005-2006, Stripes Development Team.