Class UsePageTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
com.opensymphony.module.sitemesh.taglib.AbstractTag
com.opensymphony.module.sitemesh.taglib.decorator.UsePageTag
- All Implemented Interfaces:
RequestConstants
,Serializable
,javax.servlet.jsp.tagext.BodyTag
,javax.servlet.jsp.tagext.IterationTag
,javax.servlet.jsp.tagext.JspTag
,javax.servlet.jsp.tagext.Tag
Expose the Page as a bean to the page which can then be accessed
from scriptlets.
Depending on the TEI used, the object will be
Page
or
HTMLPage
.
- Version:
- $Revision: 1.1 $
- Author:
- Joe Walnes
- See Also:
-
Field Summary
FieldsFields inherited from class com.opensymphony.module.sitemesh.taglib.AbstractTag
pageContext, parent
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport
bodyContent
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
Fields inherited from interface com.opensymphony.module.sitemesh.RequestConstants
DECORATOR, PAGE, ROBOT
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.opensymphony.module.sitemesh.taglib.AbstractTag
doStartTag, getOut, getPage, getParent, release, setPageContext, setParent, trace
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doAfterBody, doInitBody, getBodyContent, getPreviousOut, setBodyContent
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getId, getValue, getValues, removeValue, setValue
-
Field Details
-
id
-
-
Constructor Details
-
UsePageTag
public UsePageTag()
-
-
Method Details
-
setId
Set name of variable the Page will be set as.- Overrides:
setId
in classjavax.servlet.jsp.tagext.TagSupport
-
doEndTag
public final int doEndTag() throws javax.servlet.jsp.JspExceptionDescription copied from class:AbstractTag
To be implemented by all empty tags.- Specified by:
doEndTag
in interfacejavax.servlet.jsp.tagext.Tag
- Specified by:
doEndTag
in classAbstractTag
- Throws:
javax.servlet.jsp.JspException
-