Class RegionTag

java.lang.Object
javax.servlet.jsp.tagext.TagSupport
org.deltava.taglib.layout.RegionTag
All Implemented Interfaces:
Serializable, IterationTag, JspTag, Tag

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

    • RegionTag

      public RegionTag()
  • Method Details

    • setId

      public void setId(String id)
      Sets the DOM ID of the Region element.
      Overrides:
      setId in class TagSupport
      Parameters:
      id - the ID
    • setClassName

      public void setClassName(String cName)
      Sets the CSS class name(s) of the Region element.
      Parameters:
      cName - the CSS class names
    • release

      public void release()
      Releases the tag's state variables.
      Specified by:
      release in interface Tag
      Overrides:
      release in class TagSupport
    • 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
    • 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