com.iplanet.jato.taglib
Class UseTiledViewTag
java.lang.Object
|
+--javax.servlet.jsp.tagext.TagSupport
|
+--com.iplanet.jato.taglib.TagBase
|
+--com.iplanet.jato.taglib.UseTiledViewTag
- All Implemented Interfaces:
- javax.servlet.jsp.tagext.BodyTag, ContainerViewTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag
- public class UseTiledViewTag
- extends TagBase
- implements javax.servlet.jsp.tagext.BodyTag, ContainerViewTag
This tag declares a tiled view scope, and repeatedly evaluates the body
content of the tag according to the result of the tiled view's nextTile()
method.
- Version:
- JATO/1.2.2 $Id: UseTiledViewTag.java,v 1.22 2002/03/16 03:26:35 todd Exp $
- See Also:
- Serialized Form
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
id, pageContext |
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag |
EVAL_BODY_TAG |
Fields inherited from interface javax.servlet.jsp.tagext.Tag |
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
Methods inherited from class com.iplanet.jato.taglib.TagBase |
appendStyleAttributes, checkChildType, fireBeginDisplayEvent, fireEndDisplayEvent, getElementId, getFireDisplayEvents, getName, getParentContainerView, getParentContainerViewTag, getParentViewBean, getRequestContext, getStyle, getStyleClass, getValue, getValueMap, getValues, isTrue, peekContextValue, popContainerView, popContextValue, popPageletContainerViewTag, pushContainerView, pushContextValue, pushPageletContainerViewTag, release, removeValue, setElementId, setFireDisplayEvents, setName, setStyle, setStyleClass, setValue, shouldFireDisplayEvents, writeOutput, writeOutput, writeOutput |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
findAncestorWithClass, getId, getParent, setId, setPageContext, setParent |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.servlet.jsp.tagext.Tag |
getParent, release, setPageContext, setParent |
UseTiledViewTag
public UseTiledViewTag()
reset
public void reset()
- Description copied from class:
TagBase
- Reset any cached state to allow for a new rendering of this tag instance
- Overrides:
reset
in class TagBase
doStartTag
public int doStartTag()
throws javax.servlet.jsp.JspException
- Specified by:
doStartTag
in interface javax.servlet.jsp.tagext.Tag
- Overrides:
doStartTag
in class javax.servlet.jsp.tagext.TagSupport
doInitBody
public void doInitBody()
throws javax.servlet.jsp.JspException
- Specified by:
doInitBody
in interface javax.servlet.jsp.tagext.BodyTag
doAfterBody
public int doAfterBody()
throws javax.servlet.jsp.JspException
- Specified by:
doAfterBody
in interface javax.servlet.jsp.tagext.BodyTag
doEndTag
public int doEndTag()
throws javax.servlet.jsp.JspException
- Specified by:
doEndTag
in interface javax.servlet.jsp.tagext.Tag
- Overrides:
doEndTag
in class javax.servlet.jsp.tagext.TagSupport
getPageContext
public javax.servlet.jsp.PageContext getPageContext()
- Specified by:
getPageContext
in interface ContainerViewTag
getBodyContent
public javax.servlet.jsp.tagext.BodyContent getBodyContent()
setBodyContent
public void setBodyContent(javax.servlet.jsp.tagext.BodyContent value)
- Specified by:
setBodyContent
in interface javax.servlet.jsp.tagext.BodyTag
getContainerView
public ContainerView getContainerView()
- /
protected void outputBodyContent()
throws JspException
{
if (getBodyContent()!=null)
{
// Write the buffer to the output stream
JspWriter out=pageContext.getOut();
try
{
getBodyContent().writeOut(out);
}
catch (IOException e)
{
throw new JspWrapperException("Exception writing to "+
"result output stream",e);
}
}
}
////////////////////////////////////////////////////////////////////////////////
// Accessors & mutators (for child tags)
////////////////////////////////////////////////////////////////////////////////
/**
- Specified by:
getContainerView
in interface ContainerViewTag
setContainerView
protected void setContainerView(ContainerView value)
shouldFireChildDisplayEvents
public boolean shouldFireChildDisplayEvents()
throws javax.servlet.jsp.JspException
- Specified by:
shouldFireChildDisplayEvents
in interface ContainerViewTag
getType
public java.lang.String getType()
setType
public void setType(java.lang.String value)
getMaxTiles
public java.lang.String getMaxTiles()
setMaxTiles
public void setMaxTiles(java.lang.String value)
getMaxTilesInt
protected int getMaxTilesInt()
getFireChildDisplayEvents
public java.lang.String getFireChildDisplayEvents()
setFireChildDisplayEvents
public void setFireChildDisplayEvents(java.lang.String value)
isReset
public java.lang.String isReset()
setReset
public void setReset(java.lang.String value)