Class UsePageTag
- java.lang.Object
-
- jakarta.servlet.jsp.tagext.TagSupport
-
- jakarta.servlet.jsp.tagext.BodyTagSupport
-
- com.opensymphony.module.sitemesh.taglib.AbstractTag
-
- com.opensymphony.module.sitemesh.taglib.decorator.UsePageTag
-
- All Implemented Interfaces:
RequestConstants,jakarta.servlet.jsp.tagext.BodyTag,jakarta.servlet.jsp.tagext.IterationTag,jakarta.servlet.jsp.tagext.JspTag,jakarta.servlet.jsp.tagext.Tag,java.io.Serializable
public class UsePageTag extends AbstractTag
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
PageorHTMLPage.- Version:
- $Revision: 1.1 $
- Author:
- Joe Walnes
- See Also:
UsePageTEI,UseHTMLPageTEI, Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Stringid-
Fields inherited from class com.opensymphony.module.sitemesh.taglib.AbstractTag
pageContext, parent
-
Fields inherited from interface com.opensymphony.module.sitemesh.RequestConstants
DECORATOR, FILTER_APPLIED, PAGE, ROBOT, USING_STREAM
-
-
Constructor Summary
Constructors Constructor Description UsePageTag()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intdoEndTag()To be implemented by all empty tags.voidsetId(java.lang.String id)Set name of variable the Page will be set as.-
Methods inherited from class com.opensymphony.module.sitemesh.taglib.AbstractTag
doStartTag, getOut, getPage, getParent, release, setPageContext, setParent, trace
-
Methods inherited from class jakarta.servlet.jsp.tagext.BodyTagSupport
doAfterBody, doInitBody, getBodyContent, getPreviousOut, setBodyContent
-
-
-
-
Method Detail
-
setId
public void setId(java.lang.String id)
Set name of variable the Page will be set as.- Overrides:
setIdin classjakarta.servlet.jsp.tagext.TagSupport
-
doEndTag
public final int doEndTag() throws jakarta.servlet.jsp.JspExceptionDescription copied from class:AbstractTagTo be implemented by all empty tags.- Specified by:
doEndTagin interfacejakarta.servlet.jsp.tagext.Tag- Specified by:
doEndTagin classAbstractTag- Throws:
jakarta.servlet.jsp.JspException
-
-