public class MessagesTag
extends javax.servlet.jsp.tagext.TagSupport
MessageTag
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
errorClass |
protected java.lang.String |
errorStyle |
protected java.lang.String |
infoClass |
protected java.lang.String |
infoStyle |
protected JcmsJspContext |
jcmsContext |
protected JcmsMessage.Level |
level |
protected java.lang.String |
style |
protected java.lang.String |
styleClass |
protected java.lang.String |
warnClass |
protected java.lang.String |
warnStyle |
Constructor and Description |
---|
MessagesTag() |
Modifier and Type | Method and Description |
---|---|
protected void |
addStyleAndClassToDiv(java.lang.StringBuffer sb,
JcmsMessage.Level msgLevel) |
int |
doEndTag() |
int |
doStartTag() |
protected java.lang.String |
formatMessage(JcmsMessage jcmsMessage) |
protected void |
generateDisplay(java.util.List<JcmsMessage> linkedMsgList) |
protected java.util.List<JcmsMessage> |
getJcmsMessages() |
protected boolean |
isSelected(JcmsMessage jcmsMessage) |
void |
setErrorClass(java.lang.String errorClass) |
void |
setErrorStyle(java.lang.String errorStyle) |
void |
setInfoClass(java.lang.String infoClass) |
void |
setInfoStyle(java.lang.String infoStyle) |
void |
setLevel(java.lang.String level) |
void |
setStyle(java.lang.String style) |
void |
setStyleClass(java.lang.String styleClass) |
void |
setWarnClass(java.lang.String warnClass) |
void |
setWarnStyle(java.lang.String warnStyle) |
protected JcmsJspContext jcmsContext
protected JcmsMessage.Level level
protected java.lang.String infoClass
protected java.lang.String infoStyle
protected java.lang.String warnClass
protected java.lang.String warnStyle
protected java.lang.String errorClass
protected java.lang.String errorStyle
protected java.lang.String styleClass
protected java.lang.String style
public void setStyleClass(java.lang.String styleClass)
public void setStyle(java.lang.String style)
public void setLevel(java.lang.String level)
public void setInfoClass(java.lang.String infoClass)
public void setInfoStyle(java.lang.String infoStyle)
public void setWarnClass(java.lang.String warnClass)
public void setWarnStyle(java.lang.String warnStyle)
public void setErrorClass(java.lang.String errorClass)
public void setErrorStyle(java.lang.String errorStyle)
public int doStartTag() throws javax.servlet.jsp.JspException
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.JspException
protected void generateDisplay(java.util.List<JcmsMessage> linkedMsgList) throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException
protected java.lang.String formatMessage(JcmsMessage jcmsMessage)
protected boolean isSelected(JcmsMessage jcmsMessage)
protected java.util.List<JcmsMessage> getJcmsMessages()
protected void addStyleAndClassToDiv(java.lang.StringBuffer sb, JcmsMessage.Level msgLevel)
public int doEndTag()
doEndTag
in interface javax.servlet.jsp.tagext.Tag
doEndTag
in class javax.servlet.jsp.tagext.TagSupport
Copyright © 2001-2010 Jalios SA. All Rights Reserved.