File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Use of Display tags Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Use of Display tags" Watch "Use of Display tags" New topic

Use of Display tags

Grishma Dube
Ranch Hand

Joined: Jul 01, 2003
Posts: 275
Anyone here has worked with displaytag???

if yes, please guide me to resolve this problem...

suppose, i have a table of courses with different status of a course. The status of each course represent 1 column. At the end of the table, i need a total of each column.

Can i do it with display tags???

Franck Tranchant
Ranch Hand

Joined: Aug 07, 2003
Posts: 75

You'll need a "decorator" for your <display:table> tag.
As an exemple, see this sample decorator : TotalWrapper

Grishma Dube
Ranch Hand

Joined: Jul 01, 2003
Posts: 275
Thanks Franck....
I agree. Here's the link:
subject: Use of Display tags
Similar Threads
display:column with colors
How do we maintain the checkbox status while doing pagination in the display tag.
Disable hyperlink and Mouseover
how to retrieve data if the column has XML file
How Do I Append a Column to a Table for Check Box