| java.lang.Object javax.servlet.jsp.tagext.TagSupport org.apache.struts.taglib.logic.ConditionalTagBase
All known Subclasses: org.apache.struts.taglib.logic.CompareTagBase, org.apache.struts.taglib.logic.PresentTag, org.apache.struts.taglib.logic.MessagesPresentTag, org.apache.struts.taglib.logic.EmptyTag, org.apache.struts.taglib.logic.MatchTag,
ConditionalTagBase | abstract public class ConditionalTagBase extends TagSupport (Code) | | Abstract base class for the various conditional evaluation tags.
version: $Rev: 471754 $ $Date: 2004-10-16 12:38:42 -0400 (Sat, 16 Oct 2004) version: $ |
Field Summary | |
protected String | cookie The name of the cookie to be used as a variable. | protected String | header The name of the HTTP request header to be used as a variable. | protected static MessageResources | messages The message resources for this package. | protected String | name The name of the JSP bean to be used as a variable (if
property is not specified), or whose property is to be
accessed (if property is specified). | protected String | parameter The name of the HTTP request parameter to be used as a variable. | protected String | property The name of the bean property to be used as a variable. | protected String | role The name of the security role to be checked for. | protected String | scope The scope to search for the bean named by the name property, or "any
scope" if null. | protected String | user The user principal name to be checked for. |
cookie | protected String cookie(Code) | | The name of the cookie to be used as a variable.
|
header | protected String header(Code) | | The name of the HTTP request header to be used as a variable.
|
name | protected String name(Code) | | The name of the JSP bean to be used as a variable (if
property is not specified), or whose property is to be
accessed (if property is specified).
|
parameter | protected String parameter(Code) | | The name of the HTTP request parameter to be used as a variable.
|
property | protected String property(Code) | | The name of the bean property to be used as a variable.
|
role | protected String role(Code) | | The name of the security role to be checked for.
|
scope | protected String scope(Code) | | The scope to search for the bean named by the name property, or "any
scope" if null.
|
user | protected String user(Code) | | The user principal name to be checked for.
|
condition | abstract protected boolean condition() throws JspException(Code) | | Evaluate the condition that is being tested by this particular tag, and
return true if the nested body content of this tag should
be evaluated, or false if it should be skipped. This
method must be implemented by concrete subclasses.
throws: JspException - if a JSP exception occurs |
doEndTag | public int doEndTag() throws JspException(Code) | | Evaluate the remainder of the current page normally.
throws: JspException - if a JSP exception occurs |
doStartTag | public int doStartTag() throws JspException(Code) | | Perform the test required for this particular tag, and either evaluate
or skip the body of this tag.
throws: JspException - if a JSP exception occurs |
release | public void release()(Code) | | Release all allocated resources.
|
setParameter | public void setParameter(String parameter)(Code) | | |
|
|