Package com.jalios.jcms.taglib
Class DisplaySwitcherTag
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.DisplaySwitcherTag
- All Implemented Interfaces:
Serializable,javax.servlet.jsp.tagext.BodyTag,javax.servlet.jsp.tagext.IterationTag,javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.tagext.Tag
Tag to generate a display switcher (Using segmented buttons)
- Since:
- jplatform-11.0.0
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<DisplaySwitcherItem> protected Stringprotected Stringprotected StringFields 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()intintgetItems()voidsetContext(Map<String, Object> map, String body) voidsetItems(List<DisplaySwitcherItem> items) voidvoidvoidMethods 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
-
Field Details
-
items
-
label
-
value
-
name
-
-
Constructor Details
-
DisplaySwitcherTag
public DisplaySwitcherTag()
-
-
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
-
getItems
-
setItems
-
setLabel
-
setName
-
setValue
-