[
http://jira.codehaus.org/browse/DISPL-476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=160401#action_160401
]
Anas RIH commented on DISPL-476:
--------------------------------
when you replace
if (getViewIndex() == ((List) getDecoratedObject()).size() - 1)
by
if (getListIndex() == ((List) getDecoratedObject()).size() - 1)
the total is displayed but is incorrect
it shows the grand total for only the last page and not the hole list
> TotalTableDecorator - paging no grand total appearing
> -----------------------------------------------------
>
> Key: DISPL-476
> URL: http://jira.codehaus.org/browse/DISPL-476
> Project: DisplayTag
> Issue Type: Bug
> Components: Decorators
> Affects Versions: 1.1
> Reporter: Kevin Dooley
> Fix For: TBD
>
>
> When using a totalTableDecorator with paging no total appears on last page of
> report
> Problem seems to be in TotalTableDecorator.finishRow()
> uses
> if (getViewIndex() == ((List) getDecoratedObject()).size() - 1)
> when maybe it should 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
------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
displaytag-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-devel