I'm
sorry, I take that back, well actually it won't work unless I browse
through each page since the instance variable gets updated by the finishRow()
methods which gets called only for the rows present in that page, So If is
browse from the say the 1st page to say the 5th directly without going through
each individual page the sum will be of only the rows of the 1st and the 5th
page.
I was
wondering is there a way I can get the whole list somehow. I could not find any
method that gives me that.
Avinash
-----Original Message-----
From: Avinash Gangadharan [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 12, 2004 3:22 PM
To: '[EMAIL PROTECTED]'
Subject: RE: [displaytag-user] Summary not working with paginationit sure did. Should've figured it out :- )Thx much.Avinash-----Original Message-----
From: Webb, Ed [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 12, 2004 12:25 AM
To: '[EMAIL PROTECTED]'
Subject: RE: [displaytag-user] Summary not working with paginationWould using a static field in your Decorator class help carry the value across pages?
Ed!
-----Original Message-----
From: Avinash Gangadharan [mailto:[EMAIL PROTECTED]]
Sent: 11 February 2004 20:27
To: '[EMAIL PROTECTED]'
Subject: [displaytag-user] Summary not working with pagination
Hello All,
[snip]
I observed that the decorator gets reinitialized each time the next
page is accessed through pagination. So if the rows of a group span across 2
pages the totals I get is just the sum of the rows in the last page.
Is there something that I'm missing or doing wrong.
[snip]
Thanks in advance
Avinash

