Class UsePageTag

  • All Implemented Interfaces:
    RequestConstants, java.io.Serializable, javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.Tag

    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 Page or HTMLPage.

    Version:
    $Revision: 1.1 $
    Author:
    Joe Walnes
    See Also:
    UsePageTEI, UseHTMLPageTEI, Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String id  
      • 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 javax.servlet.jsp.tagext.Tag

        EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
    • Constructor Summary

      Constructors 
      Constructor Description
      UsePageTag()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int doEndTag()
      To be implemented by all empty tags.
      void setId​(java.lang.String id)
      Set name of variable the Page will be set as.
      • 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • id

        private java.lang.String id
    • Constructor Detail

      • UsePageTag

        public UsePageTag()
    • Method Detail

      • setId

        public void setId​(java.lang.String id)
        Set name of variable the Page will be set as.
        Overrides:
        setId in class javax.servlet.jsp.tagext.TagSupport
      • doEndTag

        public final int doEndTag()
                           throws javax.servlet.jsp.JspException
        Description copied from class: AbstractTag
        To be implemented by all empty tags.
        Specified by:
        doEndTag in interface javax.servlet.jsp.tagext.Tag
        Specified by:
        doEndTag in class AbstractTag
        Throws:
        javax.servlet.jsp.JspException