Class SignatureTag

All Implemented Interfaces:
Serializable, IterationTag, JspTag, Tag

public class SignatureTag extends ImageBeanTag
A JSP tag to embed a Water Cooler signature tag.
Since:
2.3
Version:
10.5
Author:
Luke
See Also:
  • Constructor Details

    • SignatureTag

      public SignatureTag()
      Creates a new Image element tag.
  • Method Details

    • setNoCache

      public void setNoCache(boolean noCache)
      Sets whether the image should be cache-busted.
      Parameters:
      noCache - TRUE if no caching, otherwise FALSE
    • setUser

      public void setUser(Pilot p)
      Sets the user to display the signature for.
      Parameters:
      p - the Pilot
    • setCode

      public void setCode(String c)
      Sets the Airline to pull the signature from.
      Parameters:
      c - the Airline code
    • release

      public void release()
      Specified by:
      release in interface Tag
      Overrides:
      release in class ImageBeanTag
    • doStartTag

      public int doStartTag()
      Description copied from class: ImageTag
      Executed post tag setup. Creates a STYLE element if dimensions specified.
      Specified by:
      doStartTag in interface Tag
      Overrides:
      doStartTag in class ImageBeanTag
      Returns:
      SKIP_BODY always