Hi All,

 

            Any help on the following issue would be appreciated.

 

I am overriding finishrow() of the TableDecorator class in displaytag, just like in TotalWrapper in sample package to find the totals.

 

But my problem is say if a similar group is spanned in two pages the total is displayed for only those rows in the second page.

 

Ex:

Dname              Job                   Ename              Sal

----------------------------------------------------------------------------------

SALES             CLERK             JAMES             950.0

                        MANAGER        BLAKE             2850.0

 

This is in one page followed by

 

Dname              Job                   Ename              Sal

----------------------------------------------------------------------------------

 

SALES             SALESMAN      ALLEN              1600.0

                                                MARTIN            1250.0

                                                TURNER           1500.0

                                                WARD              1250.0

                                                -------------------

                        SALES Total       5600.0

 

This is in second page.

 

I am doing the aggregation or calculating the total of salary based on each department i.e sales here.

But the SALES Total is displayed as 5600.0 excluding the two rows in the first page. i.e 950.0 and 2850.0 are being missed.

 

How to solve this problem.

 

Thanks in advance,

Gopi krishna kolla.

 

 

**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***

Reply via email to