MultilevelTotalDecorator - when paging grand total appearing on first page only
-------------------------------------------------------------------------------

                 Key: DISPL-475
                 URL: http://jira.codehaus.org/browse/DISPL-475
             Project: DisplayTag
          Issue Type: Bug
          Components: Decorators
    Affects Versions: 1.1
            Reporter: Kevin Dooley
             Fix For: 1.1


When using MultiLevelTotalDecorator with paging the grand total appears only at 
bottom of first page and not at end of report.

This is because in finishRow() the following checkj is used:

 if (isLastRow())

a possible solution could be to use

 if (getListIndex() == ((List) getDecoratedObject()).size() - 1)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
displaytag-devel mailing list
displaytag-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-devel

Reply via email to