|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.servlet.jsp.tagext.TagSupport org.apache.struts.taglib.logic.ConditionalTagBase org.apache.struts.taglib.logic.PresentTag org.apache.strutsel.taglib.logic.ELPresentTag
public class ELPresentTag
Evaluates the nested body content of this tag if the specified value is present for this request.
This class is a subclass of the class
org.apache.struts.taglib.logic.PresentTag
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 |
---|
Fields inherited from class org.apache.struts.taglib.logic.PresentTag |
---|
ROLE_DELIMITER |
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 | |
---|---|
ELPresentTag()
|
Method Summary | |
---|---|
int |
doStartTag()
Process the start tag. |
String |
getCookieExpr()
Getter method for "cookie" tag attribute. |
String |
getHeaderExpr()
Getter method for "header" tag attribute. |
String |
getNameExpr()
Getter method for "name" tag attribute. |
String |
getParameterExpr()
Getter method for "parameter" tag attribute. |
String |
getPropertyExpr()
Getter method for "property" tag attribute. |
String |
getRoleExpr()
Getter method for "role" tag attribute. |
String |
getScopeExpr()
Getter method for "scope" tag attribute. |
String |
getUserExpr()
Getter method for "user" tag attribute. |
void |
release()
Resets attribute values for tag reuse. |
void |
setCookieExpr(String cookieExpr)
Setter method for "cookie" tag attribute. |
void |
setHeaderExpr(String headerExpr)
Setter method for "header" tag attribute. |
void |
setNameExpr(String nameExpr)
Setter method for "name" tag attribute. |
void |
setParameterExpr(String parameterExpr)
Setter method for "parameter" tag attribute. |
void |
setPropertyExpr(String propertyExpr)
Setter method for "property" tag attribute. |
void |
setRoleExpr(String roleExpr)
Setter method for "role" tag attribute. |
void |
setScopeExpr(String scopeExpr)
Setter method for "scope" tag attribute. |
void |
setUserExpr(String userExpr)
Setter method for "user" tag attribute. |
Methods inherited from class org.apache.struts.taglib.logic.PresentTag |
---|
condition, condition, isBeanPresent, isCookiePresent |
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 |
Constructor Detail |
---|
public ELPresentTag()
Method Detail |
---|
public String getCookieExpr()
public String getHeaderExpr()
public String getNameExpr()
public String getParameterExpr()
public String getPropertyExpr()
public String getRoleExpr()
public String getScopeExpr()
public String getUserExpr()
public void setCookieExpr(String cookieExpr)
public void setHeaderExpr(String headerExpr)
public void setNameExpr(String nameExpr)
public void setParameterExpr(String parameterExpr)
public void setPropertyExpr(String propertyExpr)
public void setRoleExpr(String roleExpr)
public void setScopeExpr(String scopeExpr)
public void setUserExpr(String userExpr)
public void release()
release
in interface Tag
release
in class ConditionalTagBase
public int doStartTag() throws JspException
doStartTag
in interface Tag
doStartTag
in class ConditionalTagBase
JspException
- if a JSP exception has occurred
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |