Package com.jalios.jcms.taglib
Class ToastrTag
- java.lang.Object
-
- javax.servlet.jsp.tagext.TagSupport
-
- javax.servlet.jsp.tagext.BodyTagSupport
-
- com.jalios.jcms.taglib.IncludeTag
-
- com.jalios.jcms.taglib.ToastrTag
-
- 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
public class ToastrTag extends IncludeTag
Tag used to display the Toastr- Since:
- jcms-10.0.0
- Version:
- $Revision: 75168 $
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description 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 ToastrTag()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clean()
int
doStartTag()
MessageLevel
getLevel()
java.lang.String
getMessage()
java.util.Map<java.lang.String,? extends java.lang.Object>
getOptionMap()
void
setContext(java.util.Map<java.lang.String,java.lang.Object> map, java.lang.String body)
void
setLevel(MessageLevel level)
void
setMessage(java.lang.String message)
void
setOptionMap(java.util.Map<java.lang.String,? extends java.lang.Object> optionMap)
-
Methods inherited from class com.jalios.jcms.taglib.IncludeTag
doAfterBody, 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
-
-
Method Detail
-
clean
public void clean()
- Overrides:
clean
in classIncludeTag
-
setContext
public void setContext(java.util.Map<java.lang.String,java.lang.Object> map, java.lang.String body)
- Overrides:
setContext
in classIncludeTag
-
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
-
getMessage
public java.lang.String getMessage()
-
setMessage
public void setMessage(java.lang.String message)
-
getOptionMap
public java.util.Map<java.lang.String,? extends java.lang.Object> getOptionMap()
-
setOptionMap
public void setOptionMap(java.util.Map<java.lang.String,? extends java.lang.Object> optionMap)
-
getLevel
public MessageLevel getLevel()
-
setLevel
public void setLevel(MessageLevel level)
-
-