Package com.jalios.jcms.taglib.card
Class CardsDataTag
- java.lang.Object
-
- javax.servlet.jsp.tagext.TagSupport
-
- javax.servlet.jsp.tagext.BodyTagSupport
-
- com.jalios.jcms.taglib.IncludeTag
-
- com.jalios.jcms.taglib.card.CardsTag
-
- com.jalios.jcms.taglib.card.CardsDataTag
-
- 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:
CarouselDataTag
public class CardsDataTag extends CardsTag
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Collection<? extends Data>
collection
protected java.lang.String
counterName
static java.lang.String
DEFAULT_CARD_COLLECTION_RESOURCE
static java.lang.String
DEFAULT_CARD_COLLECTION_RESOURCE_PREFIX
static java.lang.String
DEFAULT_COUNTER_NAME
static java.lang.String
DEFAULT_VAR_NAME
protected java.util.Iterator<? extends Data>
internalIterator
static java.lang.String
REVISION
protected java.lang.String
titleTag
protected java.lang.String
var
-
Fields inherited from class com.jalios.jcms.taglib.card.CardsTag
DEFAULT_DISPLAY_MODE
-
Fields inherited from class com.jalios.jcms.taglib.IncludeTag
INCLUDE_BODY, INCLUDE_CONTEXT, JCMS_RESOURCE_INCLUDE_PREFIX_PROP
-
-
Constructor Summary
Constructors Constructor Description CardsDataTag()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clean()
int
doAfterBody()
int
doStartTag()
protected int
processIteration()
void
setCollection(java.util.Collection<? extends Data> collection)
void
setContext(java.util.Map<java.lang.String,java.lang.Object> map, java.lang.String body)
void
setCounterName(java.lang.String counterName)
void
setTemplate(java.lang.String template)
void
setTitleTag(java.lang.String titleTag)
void
setVar(java.lang.String var)
-
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_COUNTER_NAME
public static final java.lang.String DEFAULT_COUNTER_NAME
- See Also:
- Constant Field Values
-
DEFAULT_VAR_NAME
public static final java.lang.String DEFAULT_VAR_NAME
- See Also:
- Constant Field Values
-
collection
protected java.util.Collection<? extends Data> collection
-
var
protected java.lang.String var
-
counterName
protected java.lang.String counterName
-
internalIterator
protected java.util.Iterator<? extends Data> internalIterator
-
titleTag
protected java.lang.String titleTag
-
-
Method Detail
-
doStartTag
public int doStartTag() throws javax.servlet.jsp.JspException
- Specified by:
doStartTag
in interfacejavax.servlet.jsp.tagext.Tag
- Overrides:
doStartTag
in classCardsTag
- Throws:
javax.servlet.jsp.JspException
-
processIteration
protected int processIteration() throws javax.servlet.jsp.JspException
- 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 classCardsTag
- 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 classCardsTag
-
setCollection
public void setCollection(java.util.Collection<? extends Data> collection)
-
setVar
public void setVar(java.lang.String var)
-
setCounterName
public void setCounterName(java.lang.String counterName)
-
setTemplate
public void setTemplate(java.lang.String template)
-
setTitleTag
public void setTitleTag(java.lang.String titleTag)
-
-