public class ELMessagesPresentTag extends MessagesPresentTag
true 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.MessagesPresentTag
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.
message| Constructor and Description |
|---|
ELMessagesPresentTag() |
| Modifier and Type | Method and Description |
|---|---|
int |
doStartTag()
Process the start tag.
|
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.
|
condition, condition, getMessage, setMessagedoEndTag, getCookie, getHeader, getName, getParameter, getProperty, getRole, getScope, getUser, setCookie, setHeader, setName, setParameter, setProperty, setRole, setScope, setUserpublic 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()
release in interface javax.servlet.jsp.tagext.Tagrelease in class MessagesPresentTagpublic int doStartTag()
throws javax.servlet.jsp.JspException
doStartTag in interface javax.servlet.jsp.tagext.TagdoStartTag in class ConditionalTagBasejavax.servlet.jsp.JspException - if a JSP exception has occurredCopyright © 2000–2025 Apache Software Foundation. All rights reserved.