Display *: Tag Library
Tag caption


Simple tag which mimics the html caption tag. Use it inside a table tag to display a caption.

Example:
<display:table name="someList"> <display:column property="mail"/> <display:column property="total"/> <display:caption>This is the table caption</display:caption> </display:table>


Tag Information
Tag Classorg.displaytag.tags.CaptionTag
TagExtraInfo ClassNone
Body ContentJSP
Display Namecaption

Attributes
NameRequiredRequest-timeTypeDescription
stylefalsetruejava.lang.Stringhtml pass through attribute.
classfalsetruejava.lang.Stringhtml pass through attribute.
idfalsetruejava.lang.Stringhtml pass through attribute.
titlefalsetruejava.lang.Stringhtml pass through attribute.
langfalsetruejava.lang.Stringhtml pass through attribute.
dirfalsetruejava.lang.Stringhtml pass through attribute.
mediafalsetruejava.lang.StringUse this attribute to keep a caption from being output during an export. The caption will only render for the named media type(s) - it won't be added to the table if the current request media is not supported. Can be any space separated combination of 'html', 'csv', 'xml', 'all', or 'excel'. Defaults to 'all'. See the export page in the example webapp for more details.

Variables
No Variables Defined.


Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.