|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.servlet.jsp.tagext.TagSupport
org.apache.struts.taglib.logic.ConditionalTagBase
org.apache.struts.taglib.logic.MessagesPresentTag
org.apache.struts.taglib.logic.MessagesNotPresentTag
org.apache.strutsel.taglib.logic.ELMessagesNotPresentTag
Evalute to false
if an ActionMessages
class or a
class that can be converted to an ActionMessages
class is in
request scope under the specified key and there is at least one message in
the class or for the property specified.
This class is a subclass of the class
org.apache.struts.taglib.logic.MessagesNotPresentTag
which
provides most of the described functionality. This subclass allows all
attribute values to be specified as expressions utilizing the JavaServer
Pages Standard Library expression language.
Field Summary | |
private java.lang.String |
messageExpr
Instance variable mapped to "message" tag attribute. |
private java.lang.String |
nameExpr
Instance variable mapped to "name" tag attribute. |
private java.lang.String |
propertyExpr
Instance variable mapped to "property" tag attribute. |
Fields inherited from class org.apache.struts.taglib.logic.MessagesPresentTag |
message |
Fields inherited from class org.apache.struts.taglib.logic.ConditionalTagBase |
cookie, header, messages, name, parameter, property, role, scope, user |
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 | |
ELMessagesNotPresentTag()
|
Method Summary | |
int |
doStartTag()
Process the start tag. |
private void |
evaluateExpressions()
Processes all attribute values which use the JSTL expression evaluation engine to determine their values. |
java.lang.String |
getMessageExpr()
Getter method for "message" tag attribute. |
java.lang.String |
getNameExpr()
Getter method for "name" tag attribute. |
java.lang.String |
getPropertyExpr()
Getter method for "property" tag attribute. |
void |
release()
Releases state of custom tag so this instance can be reused. |
void |
setMessageExpr(java.lang.String messageExpr)
Setter method for "message" tag attribute. |
void |
setNameExpr(java.lang.String nameExpr)
Setter method for "name" tag attribute. |
void |
setPropertyExpr(java.lang.String propertyExpr)
Setter method for "property" tag attribute. |
Methods inherited from class org.apache.struts.taglib.logic.MessagesNotPresentTag |
condition |
Methods inherited from class org.apache.struts.taglib.logic.MessagesPresentTag |
condition, getMessage, setMessage |
Methods inherited from class org.apache.struts.taglib.logic.ConditionalTagBase |
doEndTag, getCookie, getHeader, getName, getParameter, getProperty, getRole, getScope, getUser, setCookie, setHeader, setName, setParameter, setProperty, setRole, setScope, setUser |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, 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 |
private java.lang.String nameExpr
private java.lang.String propertyExpr
private java.lang.String messageExpr
Constructor Detail |
public ELMessagesNotPresentTag()
Method Detail |
public java.lang.String getNameExpr()
public java.lang.String getPropertyExpr()
public java.lang.String getMessageExpr()
public void setNameExpr(java.lang.String nameExpr)
public void setPropertyExpr(java.lang.String propertyExpr)
public void setMessageExpr(java.lang.String messageExpr)
public void release()
public int doStartTag() throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException
- if a JSP exception has occurredprivate void evaluateExpressions() throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException
- if a JSP exception has occurred
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |