Package com.jalios.jcms.taglib.card
Class CardsTag
- java.lang.Object
-
- javax.servlet.jsp.tagext.TagSupport
-
- javax.servlet.jsp.tagext.BodyTagSupport
-
- com.jalios.jcms.taglib.IncludeTag
-
- com.jalios.jcms.taglib.card.CardsTag
-
- All Implemented Interfaces:
java.io.Serializable
,javax.servlet.jsp.tagext.BodyTag
,javax.servlet.jsp.tagext.IterationTag
,javax.servlet.jsp.tagext.JspTag
,javax.servlet.jsp.tagext.Tag
- Direct Known Subclasses:
CardsDataTag
public class CardsTag extends IncludeTag
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
DEFAULT_CARD_COLLECTION_RESOURCE
static java.lang.String
DEFAULT_CARD_COLLECTION_RESOURCE_PREFIX
static CardsDisplayMode
DEFAULT_DISPLAY_MODE
static java.lang.String
REVISION
-
Fields inherited from class com.jalios.jcms.taglib.IncludeTag
INCLUDE_BODY, INCLUDE_CONTEXT, JCMS_RESOURCE_INCLUDE_PREFIX_PROP
-
-
Constructor Summary
Constructors Constructor Description CardsTag()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clean()
int
doAfterBody()
int
doStartTag()
protected CardsDisplayMode
getMode()
void
setContext(java.util.Map<java.lang.String,java.lang.Object> map, java.lang.String body)
void
setCss(java.lang.String css)
void
setMode(CardsDisplayMode mode)
-
Methods inherited from class com.jalios.jcms.taglib.IncludeTag
doBeforeBody, doEndTag, doInitBody, getClazz, getFile, getId, getIncludeObject, getIncludeString, getJsp, getPub, getResource, getTarget, getTargetContext, getUsage, include, include, notRecusiveInclude, printErrorMessage, setClazz, setFile, setId, setIncludeString, setJsp, setPub, setResource, setTarget, setTargetContext, setUsage, skipInclude
-
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
getBodyContent, getPreviousOut, release, setBodyContent
-
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getParent, getValue, getValues, removeValue, setPageContext, setParent, setValue
-
-
-
-
Field Detail
-
REVISION
public static final java.lang.String REVISION
- See Also:
- Constant Field Values
-
DEFAULT_CARD_COLLECTION_RESOURCE_PREFIX
public static final java.lang.String DEFAULT_CARD_COLLECTION_RESOURCE_PREFIX
- See Also:
- Constant Field Values
-
DEFAULT_CARD_COLLECTION_RESOURCE
public static final java.lang.String DEFAULT_CARD_COLLECTION_RESOURCE
-
DEFAULT_DISPLAY_MODE
public static final CardsDisplayMode DEFAULT_DISPLAY_MODE
-
-
Method Detail
-
doStartTag
public int doStartTag() throws javax.servlet.jsp.JspException
- Specified by:
doStartTag
in interfacejavax.servlet.jsp.tagext.Tag
- Overrides:
doStartTag
in classIncludeTag
- Throws:
javax.servlet.jsp.JspException
-
doAfterBody
public int doAfterBody() throws javax.servlet.jsp.JspException
- Specified by:
doAfterBody
in interfacejavax.servlet.jsp.tagext.IterationTag
- Overrides:
doAfterBody
in classIncludeTag
- Throws:
javax.servlet.jsp.JspException
-
setContext
public void setContext(java.util.Map<java.lang.String,java.lang.Object> map, java.lang.String body)
- Overrides:
setContext
in classIncludeTag
-
clean
public void clean()
- Overrides:
clean
in classIncludeTag
-
setCss
public void setCss(java.lang.String css)
-
setMode
public void setMode(CardsDisplayMode mode)
-
getMode
protected CardsDisplayMode getMode()
-
-