com.arsdigita.bebop.jsp
Class ShowList

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended byjavax.servlet.jsp.tagext.BodyTagSupport
          extended bycom.arsdigita.bebop.jsp.ShowComponent
              extended bycom.arsdigita.bebop.jsp.ShowContainer
                  extended bycom.arsdigita.bebop.jsp.ShowCellList
                      extended bycom.arsdigita.bebop.jsp.ShowList
All Implemented Interfaces:
javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, com.arsdigita.bebop.jsp.JSPConstants, Serializable, javax.servlet.jsp.tagext.Tag

public class ShowList
extends ShowCellList

JSP tag handler to show contents from a model-backed List.

Usage:

 <show:list name="mylist"/>
 
... displays the list at this point in the JSP with global styling for the list and its contents. Or,
 <show:list name="mylist">
    show list item here 
 </show:list>
 
... has the effect of locally-styling the list contents in the JSP, while globally styling the individual item inside the list.

Note that a Bebop List isn't really a Container, but from the JSP's perspective of manipulating Bebop XML output, and not the components themselves, the behavior is container-like.

See Also:
Serialized Form

Field Summary
static String versionId
           
 
Fields inherited from class com.arsdigita.bebop.jsp.ShowComponent
BEBOP_XMLNS, INPUT_DOC_ATTRIBUTE, INPUT_PAGE_STATE_ATTRIBUTE, SLAVE_DOC, SLAVE_INPUT_DOC
 
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
ShowList()
           
 
Method Summary
protected  org.w3c.dom.traversal.TreeWalker makeTreeWalker()
          set up the input context as our parent class would except evaluate the body of the show:list tag only if the list in question isn't empty.
 
Methods inherited from class com.arsdigita.bebop.jsp.ShowCellList
doAfterBody, doStartTag, getCurrentCell
 
Methods inherited from class com.arsdigita.bebop.jsp.ShowContainer
doEndTag
 
Methods inherited from class com.arsdigita.bebop.jsp.ShowComponent
getName, setName
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
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

ShowList

public ShowList()
Method Detail

makeTreeWalker

protected org.w3c.dom.traversal.TreeWalker makeTreeWalker()
set up the input context as our parent class would except evaluate the body of the show:list tag only if the list in question isn't empty.

Specified by:
makeTreeWalker in class ShowCellList


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