com.arsdigita.bebop.jsp
Class DefineContainer

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended byjavax.servlet.jsp.tagext.BodyTagSupport
          extended bycom.arsdigita.bebop.jsp.DefineComponent
              extended bycom.arsdigita.bebop.jsp.DefineContainer
All Implemented Interfaces:
javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, Serializable, javax.servlet.jsp.tagext.Tag
Direct Known Subclasses:
DefineComponentImpl, DefineForm, DefineOptionGroup, DefinePage, DefineTab, DefineTabbedPane

public abstract class DefineContainer
extends DefineComponent

Tag for defining a Bebop container in a JSP.

See Also:
Serialized Form

Field Summary
static String versionId
           
 
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport
bodyContent
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
 
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
DefineContainer()
           
 
Method Summary
 void addComponent(Component c)
          adds a component to the container represented by this tag.
 int doAfterBody()
          If we have text intervening between tags, then we turn it into a Bebop Label object so it becomes part of the Page's component hierarchy.
 
Methods inherited from class com.arsdigita.bebop.jsp.DefineComponent
doStartTag, getComponent, getName, getParentTag, setName
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doEndTag, doInitBody, getBodyContent, getPreviousOut, release, setBodyContent
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
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
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
getParent, setPageContext, setParent
 

Field Detail

versionId

public static final String versionId
See Also:
Constant Field Values
Constructor Detail

DefineContainer

public DefineContainer()
Method Detail

doAfterBody

public int doAfterBody()
If we have text intervening between tags, then we turn it into a Bebop Label object so it becomes part of the Page's component hierarchy.

doAfterBody would be called by the JSP container at the end of a tag, but we call it from ContainerTag.doStartTag() manually so we get the text here in several discrete chunks separated by our child component tags, instead of in one big chunk at the end.


addComponent

public void addComponent(Component c)
adds a component to the container represented by this tag.



Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 21 2004:2337 UTC