Package com.jalios.jcms.taglib
Class SocialTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
com.jalios.jcms.taglib.IncludeTag
com.jalios.jcms.taglib.ComponentTag
com.jalios.jcms.taglib.SocialTag
- All Implemented Interfaces:
Serializable,javax.servlet.jsp.tagext.BodyTag,javax.servlet.jsp.tagext.IterationTag,javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.tagext.Tag
Displays a list of social items (votes / comments / date)
- Since:
- jcms-11.0.0
- See Also:
-
Field Summary
Fields inherited from class com.jalios.jcms.taglib.ComponentTag
css, dataAttribute, wrapperTagFields inherited from class com.jalios.jcms.taglib.IncludeTag
INCLUDE_BODY, INCLUDE_CONTEXT, JCMS_RESOURCE_INCLUDE_PREFIX_PROPFields inherited from class javax.servlet.jsp.tagext.BodyTagSupport
bodyContentFields inherited from class javax.servlet.jsp.tagext.TagSupport
pageContextFields inherited from interface javax.servlet.jsp.tagext.BodyTag
EVAL_BODY_BUFFERED, EVAL_BODY_TAGFields 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
Modifier and TypeMethodDescriptionvoidclean()intintvoidsetContext(Map<String, Object> map, String body) voidsetDateType(String dateType) voidsetDisplayDate(boolean displayDate) voidsetPublication(Publication publication) voidsetShowMemberPhotos(boolean showMemberPhotos) Methods inherited from class com.jalios.jcms.taglib.ComponentTag
getCss, getDataAttribute, getHtmlAttributes, setCss, setDataAttribute, setHtmlAttributes, setWrapperTagMethods inherited from class com.jalios.jcms.taglib.IncludeTag
doBeforeBody, doEndTag, doInitBody, getClazz, getFile, getId, getIncludeBoolean, getIncludeObject, getIncludeString, getJsp, getPub, getResource, getTarget, getTargetContext, getUsage, include, include, notRecusiveInclude, printErrorMessage, registerIncludeStringsAsBufferContent, registerIncludeStringsAsRequestAttribute, setClazz, setFile, setId, setIncludeString, setJsp, setPub, setResource, setTarget, setTargetContext, setUsage, skipIncludeMethods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
getBodyContent, getPreviousOut, release, setBodyContentMethods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getParent, getValue, getValues, removeValue, setPageContext, setParent, setValueMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface javax.servlet.jsp.tagext.Tag
getParent, setPageContext, setParent
-
Constructor Details
-
SocialTag
public SocialTag()
-
-
Method Details
-
doStartTag
public int doStartTag() throws javax.servlet.jsp.JspException- Specified by:
doStartTagin interfacejavax.servlet.jsp.tagext.Tag- Overrides:
doStartTagin classIncludeTag- Throws:
javax.servlet.jsp.JspException
-
setContext
- Overrides:
setContextin classComponentTag
-
doAfterBody
public int doAfterBody() throws javax.servlet.jsp.JspException- Specified by:
doAfterBodyin interfacejavax.servlet.jsp.tagext.IterationTag- Overrides:
doAfterBodyin classIncludeTag- Throws:
javax.servlet.jsp.JspException
-
clean
public void clean()- Overrides:
cleanin classComponentTag
-
getPublication
-
setPublication
-
setShowMemberPhotos
public void setShowMemberPhotos(boolean showMemberPhotos) -
setDisplayDate
public void setDisplayDate(boolean displayDate) -
setDateType
-