Package org.deltava.taglib.format
Class AccomplishmentFormatTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
org.deltava.taglib.format.AccomplishmentFormatTag
- All Implemented Interfaces:
Serializable
,IterationTag
,JspTag
,Tag
A JSP tag to display a Pilot Accomplishment.
- Since:
- 3.2
- Version:
- 7.0
- Author:
- Luke
- See Also:
-
Field Summary
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
doEndTag()
Renders the Accomplishment to the JSP output stream.void
release()
Releases the tag's state variables.void
Sets the Accomplishment to display.void
setClassName
(String className) Sets the CSS class name to use when displaying this Accomplishment.Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, doStartTag, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
-
Constructor Details
-
AccomplishmentFormatTag
public AccomplishmentFormatTag()
-
-
Method Details
-
setAccomplish
Sets the Accomplishment to display.- Parameters:
a
- the Accomplishment bean
-
setClassName
Sets the CSS class name to use when displaying this Accomplishment.- Parameters:
className
- the CSS class name
-
release
public void release()Releases the tag's state variables.- Specified by:
release
in interfaceTag
- Overrides:
release
in classTagSupport
-
doEndTag
Renders the Accomplishment to the JSP output stream.- Specified by:
doEndTag
in interfaceTag
- Overrides:
doEndTag
in classTagSupport
- Returns:
- EVAL_PAGE always
- Throws:
JspException
-