com.arsdigita.bebop.jsp
Class ShowTable
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.ShowTable
- 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 ShowTable
- extends ShowContainer
JSP tag handler to show contents from a model-backed Table.
Usage:
<show:table name="mylist"/>
... displays the list at this point in the JSP with global styling
for the list and its contents. Or,
<show:table name="table">
<show:thead> <!-- iterates over table header columns -->
column header: <show:col/> :column header
</show:thead>
<show:tbody> <!-- iterates over table rows -->
table row starts here:
<show:row>
table column: <show:col/> :table column
</show:row>
:table row ends here
</show:tbody>
</show:table>
... has the effect of locally-styling the table contents in the JSP,
while globally styling the individual components inside the table
if there is a TableCellRenderer involved.
Note that a Bebop Table 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 |
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
ShowTable
public ShowTable()
Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 20 2004:2337 UTC