org.apache.struts.taglib
Class IfAttributeExistsTag

java.lang.Object
  |
  +--javax.servlet.jsp.tagext.TagSupport
        |
        +--org.apache.struts.taglib.BaseAttributeTag
              |
              +--org.apache.struts.taglib.IfAttributeExistsTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.IterationTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag

public class IfAttributeExistsTag
extends BaseAttributeTag

Conditionally include the body of this tag if the specified attribute exists in the specified scope.

Version:
$Revision: 1.2 $ $Date: 2000/08/01 20:03:33 $
Author:
Arun M. Thomas
See Also:
Serialized Form

Fields inherited from class org.apache.struts.taglib.BaseAttributeTag
name, scope
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext, parent, values
 
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
IfAttributeExistsTag()
           
 
Method Summary
 int doStartTag()
          Conditionally evaluate the body content of this tag.
 
Methods inherited from class org.apache.struts.taglib.BaseAttributeTag
getName, getScope, getScopeId, release, setName, setScope
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

IfAttributeExistsTag

public IfAttributeExistsTag()
Method Detail

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Conditionally evaluate the body content of this tag.
Overrides:
doStartTag in class javax.servlet.jsp.tagext.TagSupport
Throws:
javax.servlet.jsp.JspException - if a JSP exception has occurred


Copyright © 2000-2002 - Apache Software Foundation