Package com.jalios.jcms.taglib
Class IconTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
com.jalios.jcms.taglib.IconTag
- All Implemented Interfaces:
Serializable,javax.servlet.jsp.tagext.IterationTag,javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.tagext.Tag
- Direct Known Subclasses:
DataIconTag
public class IconTag
extends javax.servlet.jsp.tagext.TagSupport
Display the img html tag for given Data. Warning, if you specify
one of the following attributes (css,title,alt), the override of
Data.getDataIconHtml() will not be called. The tag will directly
call HtmlUtil.getHtmlIcon(...).
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Channelprotected Stringprotected Stringprotected Stringprotected StringFields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContextFields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAINFields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue
-
Field Details
-
channel
-
htmlAttributes
-
css
-
title
-
alt
-
src
-
-
Constructor Details
-
IconTag
public IconTag()
-
-
Method Details
-
setHtmlAttributes
-
setCss
-
setTitle
-
setAlt
-
setSrc
-
clean
protected void clean() -
doStartTag
public int doStartTag() throws javax.servlet.jsp.JspException- Specified by:
doStartTagin interfacejavax.servlet.jsp.tagext.Tag- Overrides:
doStartTagin classjavax.servlet.jsp.tagext.TagSupport- Throws:
javax.servlet.jsp.JspException
-
doEndTag
public int doEndTag()- Specified by:
doEndTagin interfacejavax.servlet.jsp.tagext.Tag- Overrides:
doEndTagin classjavax.servlet.jsp.tagext.TagSupport
-