|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.servlet.jsp.tagext.TagSupport com.jalios.jcms.taglib.MessagesTag com.jalios.jcms.taglib.MessageTag
public class MessageTag
add message tag use to display message associated to a specific id
Field Summary | |
---|---|
protected String |
componentId
|
protected JcmsJspContext |
jcmsContext
|
Fields inherited from class com.jalios.jcms.taglib.MessagesTag |
---|
errorClass, errorStyle, infoClass, infoStyle, level, style, styleClass, warnClass, warnStyle |
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
---|
id, pageContext |
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag |
---|
EVAL_BODY_AGAIN |
Fields inherited from interface javax.servlet.jsp.tagext.Tag |
---|
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
Constructor Summary | |
---|---|
MessageTag()
|
Method Summary | |
---|---|
int |
doStartTag()
|
protected String |
formatMessage(JcmsMessage jcmsMessage)
|
protected boolean |
isSelected(JcmsMessage jcmsMessage)
|
void |
setComponentId(String componentId)
|
Methods inherited from class com.jalios.jcms.taglib.MessagesTag |
---|
addStyleAndClassToDiv, doEndTag, generateDisplay, getJcmsMessages, setErrorClass, setErrorStyle, setInfoClass, setInfoStyle, setLevel, setStyle, setStyleClass, setWarnClass, setWarnStyle |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
---|
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected JcmsJspContext jcmsContext
protected String componentId
Constructor Detail |
---|
public MessageTag()
Method Detail |
---|
public void setComponentId(String componentId)
public int doStartTag() throws javax.servlet.jsp.JspException
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class MessagesTag
javax.servlet.jsp.JspException
protected boolean isSelected(JcmsMessage jcmsMessage)
isSelected
in class MessagesTag
protected String formatMessage(JcmsMessage jcmsMessage)
formatMessage
in class MessagesTag
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |