| org.apache.struts.taglib.logic.ConditionalTagBase org.apache.struts.taglib.logic.PresentTag
All known Subclasses: org.apache.strutsel.taglib.logic.ELPresentTag, org.apache.struts.taglib.logic.NotPresentTag, org.apache.struts.taglib.nested.logic.NestedPresentTag,
PresentTag | public class PresentTag extends ConditionalTagBase (Code) | | Evalute the nested body content of this tag if the specified value is
present for this request.
version: $Rev: 471754 $ $Date: 2004-10-16 12:38:42 -0400 (Sat, 16 Oct 2004) version: $ |
Method Summary | |
protected boolean | condition() 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. | protected boolean | condition(boolean desired) 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. | protected boolean | isBeanPresent() Returns true if the bean given in the name attribute is
found. | protected boolean | isCookiePresent(HttpServletRequest request) Returns true if the cookie is present in the request. |
ROLE_DELIMITER | final public static String ROLE_DELIMITER(Code) | | |
condition | 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 |
condition | protected boolean condition(boolean desired) 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.
Parameters: desired - Desired outcome for a true result throws: JspException - if a JSP exception occurs |
isBeanPresent | protected boolean isBeanPresent()(Code) | | Returns true if the bean given in the name attribute is
found.
since: Struts 1.2 |
isCookiePresent | protected boolean isCookiePresent(HttpServletRequest request)(Code) | | Returns true if the cookie is present in the request.
since: Struts 1.2 |
|
|