com.arsdigita.bebop.jsp
Class ShowTable

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.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

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
ShowTable()
           
 
Methods inherited from class com.arsdigita.bebop.jsp.ShowContainer
doAfterBody, doEndTag, doStartTag
 
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

ShowTable

public ShowTable()


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