com.arsdigita.bebop.jsp
Class ShowList
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
com.arsdigita.bebop.jsp.ShowComponent
com.arsdigita.bebop.jsp.ShowContainer
com.arsdigita.bebop.jsp.ShowCellList
com.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
| 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 |
|
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 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 |
versionId
public static final String versionId
- See Also:
- Constant Field Values
ShowList
public ShowList()
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 20 2004:2337 UTC