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:

Author: Juzilkree Negami
Country: Namibia
Language: English (Spanish)
Genre: Travel
Published (Last): 9 July 2009
Pages: 405
PDF File Size: 20.6 Mb
ePub File Size: 11.92 Mb
ISBN: 821-8-40766-482-5
Downloads: 37801
Price: Free* [*Free Regsitration Required]
Uploader: Mezragore

The grouping level starting at 1 and incrementing of this column indicates if successive contain the same values, then they should not be displayed. By setting ‘nulls’ to ‘true’, then null values will appear as “null” in the list mostly useful for debugging. String paramId The name of the request parameter that will be dynamically added to the generated href URL. Whitespace separated list containg the name of parameters which should NOT be forwarded during paging or sorting.

If not specified, all scopes are searched. String id html pass through attribute.

caption (Display tag library Tag library documentation)

The body of the tag is into the tfoot section of the table. Sign up or log in Sign up using Google. You may need to use the value attribute instead of a scriptlet in the tag body if you displagtag to calculate totals on numeric values. String href The base URL used to construct the dynamic link. When the present, links for sorting, exports, and paging are formed by adding any tag generated parameters to the value of requestURI attribute. This is version 1.


An empty href value will acption a link to the current page, preserving parameters just like for paging links. String sortable Set to ‘true’ to make the column sortable. Use a TableDecorator to provide custom operations against the whole list, such as computing totals.

Can you put your jsp code fragment here?

String paramScope deprecated – use Expressions in paramName. The id attribute can’t dispkaytag a runtime expression in jsp 1. If paramName is omitted, then it is assumed that the current object displagtag iterated on is the target bean. String nulls By default, null values don’t appear in the list. 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.

Similar Threads

Tag wich should cisplaytag nested into a table tag to provide a custom table footer. String comparator The classname of comparator to use when sorting this column, or the comparator itself. Map of the column totals in a pageContext variable by this name. Displays a list in an html table, formatting each item in the list disp,aytag to the Column tags nested inside of this tag.

Resource key used to lookup the title value. If paramName is also specified the property will not be fetched from the object being iterated on, but from the bean specified by paramName.

The default order for the sorted column. String captiin Whitespace separated list of column decorators to apply to the current column. Displaytag caption not working Ask Question.


struts-user mailing list archives

A table decorator name can be the name of captiob object in page, request, session or application scope or a fully qualified class name of a class implementing the org.

I am using displaytag to render data, I have it working without any issues.

Default is true, you can set it to false in order to generate cross-context links. This attribute has the same functionality as the href attribute, but it pre-pends the contextPath. This tag is not recognized. If sortName is ommitted the value for the dispaytag param will default to the column number. If true, will total the contents of this column.

Displaytag caption not working – Stack Overflow

MUST be nested within a Table tag. Can be an expression like requestScope.

Fully qualified class name for a TableDecorator. If paramName is not provided, then the current object being iterated on is assumed to be the target bean. Set it to true to escape special characters in html and xml output. Only works if “title” is not defined.

This is the table caption Jsp code: The variable will ONLY be available within the footer tag and after the end of the table, it is not available with the body of the table or columns.