Class PageTag

All Implemented Interfaces:
Serializable, IterationTag, JspTag, Tag

public class PageTag extends BrowserInfoTag
A JSP tag to render page layouts in a user-specific way.
Since:
1.0
Version:
11.6
Author:
Luke
See Also:
  • Constructor Details

    • PageTag

      public PageTag()
  • Method Details

    • sideMenu

      boolean sideMenu()
      Tells a child tag whether we are rendering side menus or navigation bars.
      Returns:
      TRUE if rendering a side menu, otherwise FALSE
    • doStartTag

      public int doStartTag() throws JspException
      Writes the layout element's opening tag to the JSP output stream.
      Specified by:
      doStartTag in interface Tag
      Overrides:
      doStartTag in class TagSupport
      Returns:
      TagSuppport.EVAL_BODY_INCLUDE always
      Throws:
      JspException - if an error occurs
    • release

      public void release()
      Releases the tag's state variables.
      Specified by:
      release in interface Tag
      Overrides:
      release in class TagSupport
    • doEndTag

      public int doEndTag() throws JspException
      Writes the layout element's closing tag to the JSP output stream.
      Specified by:
      doEndTag in interface Tag
      Overrides:
      doEndTag in class TagSupport
      Returns:
      TagSuppport.EVAL_PAGE always
      Throws:
      JspException - if an error occurs