Class SignatureTag
java.lang.Object
jakarta.servlet.jsp.tagext.TagSupport
org.deltava.taglib.BrowserInfoTag
org.deltava.taglib.html.ElementTag
org.deltava.taglib.html.ImageTag
org.deltava.taglib.html.ImageBeanTag
org.deltava.taglib.html.SignatureTag
- All Implemented Interfaces:
jakarta.servlet.jsp.tagext.IterationTag, jakarta.servlet.jsp.tagext.JspTag, jakarta.servlet.jsp.tagext.Tag, Serializable
A JSP tag to embed a Water Cooler signature tag.
- Since:
- 2.3
- Version:
- 10.5
- Author:
- Luke
- See Also:
-
Field Summary
Fields inherited from class ElementTag
_classes, _data, _outModifier and TypeFieldDescriptionprotected final Collection<String> protected final XMLRendererprotected jakarta.servlet.jsp.JspWriterFields inherited from class jakarta.servlet.jsp.tagext.TagSupport
id, pageContextFields inherited from interface jakarta.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAINFields inherited from interface jakarta.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintExecuted post tag setup.voidrelease()voidSets the Airline to pull the signature from.voidsetNoCache(boolean noCache) Sets whether the image should be cache-busted.voidSets the user to display the signature for.Methods inherited from class ImageBeanTag
setAirline, setImg, setSrc, setX, setYModifier and TypeMethodDescriptionvoidsetAirline(String aCode) Updates the airline code for this Image.voidSets the ImageBean to display.voidSets the source of this image.voidsetX(int x) Sets the width of ths image.voidsetY(int y) Sets the height of ths image.Methods inherited from class ImageTag
doEndTag, renderHTML, setCaptionModifier and TypeMethodDescriptionintdoEndTag()Generates this image's HTML.protected voidRenders the image tag tot he JSP output stream.voidsetCaption(String caption) Sets the alternate caption for this image.Methods inherited from class ElementTag
getFormIndexCount, getName, getParentFormTag, setClassName, setID, setNumericAttr, setPageContext, setStyleModifier and TypeMethodDescriptionprotected intGets and increments the current tab index count for the parent form tag.protected StringgetName()Returns the type of HTML element this tag generated.protected FormTagReturns the parent form tag.voidsetClassName(String cName) Sets the CSS class name of this HTML element.voidSets the ID of this HTML element.protected voidsetNumericAttr(String attrName, int value, int minValue) Sets a numeric attribute.voidsetPageContext(jakarta.servlet.jsp.PageContext ctxt) voidAssociates a CSS style with this HTML element.Methods inherited from class BrowserInfoTag
getBrowserContext, passedCAPTCHAModifier and TypeMethodDescriptionprotected HTTPContextDataFetches the browser data.protected booleanReturns whether the user has passed CAPTCHA validation.Methods inherited from class jakarta.servlet.jsp.tagext.TagSupport
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setParent, setValue
-
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
-
setCode
Sets the Airline to pull the signature from.- Parameters:
c- the Airline code
-
release
public void release()- Specified by:
releasein interfacejakarta.servlet.jsp.tagext.Tag- Overrides:
releasein classImageBeanTag
-
doStartTag
public int doStartTag()Description copied from class:ImageTagExecuted post tag setup. Creates a STYLE element if dimensions specified.- Specified by:
doStartTagin interfacejakarta.servlet.jsp.tagext.Tag- Overrides:
doStartTagin classImageBeanTag- Returns:
- SKIP_BODY always
-