The problem is twofold:

1.  The new total decorators don't implement interfaces expected
    by the excel and pdf exporters, namely,
    org.displaytag.decorator.hssf.DecoratesHssf for excel and
    org.displaytag.render.ItextDecorator

    Implementing these interfaces should be required only if the
    decorator needs to do hssf or itext work.  In general, they
    should become optional.

    As a workaround, you'll need to extend the total decorator you're using,
    (org.displaytag.decorator.MultilevelTotalTableDecorator or
    TotalTableDecorator)
    so that they implement these interfaces.

2.  You'll also need to explicitly configure you're new excel and pdf
    decorators, like so.
    <display:setProperty name="export.excel.decorator" value="name.of.your.excel.decorator" />
    <display:setProperty name="export.pdf.decorator" value="name.of.your.pdf.decorator" />

A related issue has already been created,
http://jira.codehaus.org/browse/DISPL-298

Krishna Mangamuri <[EMAIL PROTECTED]> wrote:


Hai ,

I am getting problems while exporting the values  to PDF/Excel by using display tag
all values are getting in pdf/excel expcept the Column Totals

How Can I get the Column Totals in PDF/EXCEL

Please help me

Thanks in advanvce

Krishna Mangamuri




Brings words and photos together (easily) with
PhotoMail - it's free and works with Yahoo! Mail.

Reply via email to