Class UserSettingsTag

java.lang.Object
jakarta.servlet.jsp.tagext.TagSupport
org.deltava.taglib.format.UserSettingsTag
All Implemented Interfaces:
jakarta.servlet.jsp.tagext.IterationTag, jakarta.servlet.jsp.tagext.JspTag, jakarta.servlet.jsp.tagext.Tag, Serializable
Direct Known Subclasses:
AirportFormatTag, AirportTypeTag, DateFormatTag, DurationFormatTag, EliteProgressTag, NumberFormatTag

abstract class UserSettingsTag extends jakarta.servlet.jsp.tagext.TagSupport
An abstract JSP tag class to expose authenticated user data.
Since:
5.2
Version:
7.0
Author:
Luke
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected Person
    The authenticated user.

    Fields inherited from class jakarta.servlet.jsp.tagext.TagSupport

    id, pageContext

    Fields inherited from interface jakarta.servlet.jsp.tagext.IterationTag

    EVAL_BODY_AGAIN

    Fields inherited from interface jakarta.servlet.jsp.tagext.Tag

    EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    setPageContext(jakarta.servlet.jsp.PageContext ctxt)
    Sets the tag's JSP context and loads the user data.

    Methods inherited from class jakarta.servlet.jsp.tagext.TagSupport

    doAfterBody, doEndTag, doStartTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setParent, setValue

    Methods inherited from class Object

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

    • _user

      protected Person _user
      The authenticated user.
  • Constructor Details

    • UserSettingsTag

      UserSettingsTag()
  • Method Details

    • setPageContext

      public void setPageContext(jakarta.servlet.jsp.PageContext ctxt)
      Sets the tag's JSP context and loads the user data.
      Specified by:
      setPageContext in interface jakarta.servlet.jsp.tagext.Tag
      Overrides:
      setPageContext in class jakarta.servlet.jsp.tagext.TagSupport
      Parameters:
      ctxt - the JSP context