Package com.jalios.jcms.taglib
Class MessageTag
- java.lang.Object
-
- javax.servlet.jsp.tagext.TagSupport
-
- javax.servlet.jsp.tagext.BodyTagSupport
-
- com.jalios.jcms.taglib.IncludeTag
-
- com.jalios.jcms.taglib.MessageTag
-
- 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 MessageTag extends IncludeTag
Displays a message according to the given level.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.jalios.jcms.taglib.IncludeTag
INCLUDE_BODY, INCLUDE_CONTEXT, JCMS_RESOURCE_INCLUDE_PREFIX_PROP, REVISION
-
-
Constructor Summary
Constructors Constructor Description MessageTag()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clean()
int
doStartTag()
java.lang.String
getCss()
MessageLevel
getLevel()
java.lang.String
getMsg()
java.lang.String
getTitle()
boolean
isDismissable()
void
setContext(java.util.Map<java.lang.String,java.lang.Object> map, java.lang.String body)
void
setCss(java.lang.String css)
void
setDismissable(boolean dismissable)
void
setLevel(MessageLevel level)
void
setMsg(java.lang.String msg)
void
setTitle(java.lang.String title)
void
setTitleTag(java.lang.String titleTag)
-
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
-
-
-
-
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
-
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
-
getMsg
public java.lang.String getMsg()
-
setMsg
public void setMsg(java.lang.String msg)
-
getTitle
public java.lang.String getTitle()
-
setTitle
public void setTitle(java.lang.String title)
-
getLevel
public MessageLevel getLevel()
-
setLevel
public void setLevel(MessageLevel level)
-
isDismissable
public boolean isDismissable()
-
setDismissable
public void setDismissable(boolean dismissable)
-
setTitleTag
public void setTitleTag(java.lang.String titleTag)
-
getCss
public java.lang.String getCss()
-
setCss
public void setCss(java.lang.String css)
-
-