Can you put your jsp code fragment here? It will help others to answer. Also, you can change caption text to see if caption text has some special. Display *: Tag Library (EL) Tag caption. Simple tag which mimics the html caption tag. Use it inside a table tag to display a caption. Example:
|Published (Last):||5 December 2008|
|PDF File Size:||12.73 Mb|
|ePub File Size:||11.48 Mb|
|Price:||Free* [*Free Regsitration Required]|
The id attribute can’t be a runtime expression in jsp 1.
If you use this tag in Struts, or in some other framework where the page is included via a jsp: The scope within which to search for the bean specified by the paramName attribute. Valid values are “ascending” default or “descending” String defaultsort The index of the column that will displatyag used by default for sorting starting from 1 String excludedParams Whitespace separated list containg the name of parameters which should NOT be forwarded during paging or sorting.
Map of the column totals in a pageContext variable by this name. Better using “padding” css attribute in style or class String cellspacing html pass through attribute String class html pass through attribute String decorator Fully qualified class name for a TableDecorator. Can be an expression like requestScope.
See the export page in the example webapp for more details. String comparator The classname of comparator to use when sorting this column, or the comparator itself. This can be used when the column body is filled or a decorator is used and column should sort on undeorated values.
struts-user mailing list archives
Resource key used to lookup the title value. The base URL used to construct the dynamic link. Use this attribute to keep a footer from being output during an export.
MUST be nested within a Table tag. Column values need to Numbers. String paramProperty The name of a property of the current object being iterated on, whose return value will be used as the value of the parameter named by the paramId attribute that will be dynamically added to this href URL.
Sign up using Facebook. String media Use this attribute to keep a caption from being output during an export. You may need to use the value attribute instead of a scriptlet in the tag body if you need to calculate totals on numeric values.
caption (Display tag library Tag library documentation)
The name of a property of the current object being iterated on, whose return value will be displaygag as the value of the parameter named by the paramId attribute that will be dynamically added to this href URL. String cation html pass through attribute; use this instead of directly coding presentational atttributes.
Valid values are “ascending” default or “descending” String escapeXml Set it to true to escape special characters in html and xml output. If this attribute is provided, then the column’s displayed is limited to this number of characters. Can you put your jsp code fragment here? Two tables in the same page can’t have the same uid paging and sorting will affect both.
If this attribute is not included, then no grouping is performed. Valid values are true or displaytxg String frame html pass through attribute.
Can be any space separated combination of ‘html’, ‘csv’, ‘xml’, ‘all’, or ‘excel’. This value is available via the Map named in varTotals for the table. String headerScope “scope” html attribute added only for header cells. If true, will total the contents of this column. Automatically hyperlink URLs and email addresses that appear in the column. Displayrag empty href value will generate a link to the current page, preserving parameters just like for paging links.
String varTotals Store a java.
Displaytag caption not working – Stack Overflow