I agree.  Please, create a Jira issue for it, if there isn't one already.  
You've got at least one vote, mine.

-J

----- Original Message ----
From: Kranti Parisa <[EMAIL PROTECTED]>
To: displaytag-user@lists.sourceforge.net
Sent: Wednesday, March 7, 2007 6:03:33 PM
Subject: Re: [displaytag-user] EXPORT TOTALS INTO PDF

Dear Jorge,

 

I will try to get that. But I wish displaytag library would provide that option 
soon.

For Totals and Subtotals which are very very important for any report. 

 

Regards

Kranti

 

On 3/8/07, Jorge Barroso <[EMAIL PROTECTED]> wrote:



Not necessarily.  For instance, in my local implementation, I've been able to 
reuse a set (Parent Template, HTML, iText and Hssf children) of decorators for 
many reports.  The logic for writing a subtotal line and grand total line is 
factored out to the parent template, as in the example.  So, you could create 
your own local totals decorator hierarchy, with a parent doing most of the 
work, and child customizations as needed for various reports.


Ideally, complementary itext and hssf versions of the html total decorator that 
was released with 1.1 should be released with the tag, so that users don't have 
to write them, or at least to lessen their work, allowing for customization.  
But as of 
1.1, you have to roll your own, as in the WYSIWYG example.

-Jorge


----- Original Message ----
From: Kranti Parisa <
[EMAIL PROTECTED]>
To: displaytag-user@lists.sourceforge.net

Sent: Wednesday, March 7, 2007 5:40:17 PM
Subject: Re: [displaytag-user] EXPORT TOTALS INTO PDF


Dear Jorge,

 

Thanks for the valuable information. I was looking into the classes and jsps as 
per your suggestions. This means I need to develop the decorators for each 
report i code for?

 

Thanks ,

 

Kranti

 

On 3/8/07, Jorge Barroso <[EMAIL PROTECTED]
> wrote: 



Hi, Kranti.

The WYSIWYG example shows how to create export views that also export totals 
and subtotals (and other attributes).  However, it's just an example.  None of 
the 
1.1 export views export totals out of the box, unfortunately.  You have to 
write your own decorator, which this example shows how to do.

Have a look at the sample classes,
org.displaytag.sample.decorators.HtmlTotalWrapper
 
org.displaytag.sample.decorators.ItextTotalWrapper
org.displaytag.sample.decorators.HssfTotalWrapper

and the sample jsp code

http://displaytag.homeip.net/displaytag-examples-1.1/example-new-export.jsp.source

-Jorge



----- Original Message ----
From: Kranti Parisa <[EMAIL PROTECTED] 
>
To: displaytag-user@lists.sourceforge.net
Sent: Wednesday, March 7, 2007 4:53:21 PM 

Subject: [displaytag-user] EXPORT TOTALS INTO PDF


Hi,

 

I am using the displaytag1.1. I am trying to use the "What You See Is What You 
Get" Exports (
 http://displaytag.homeip.net/displaytag-examples-1.1/example-new-export.jsp ) 
. But when I try to export to PDF, its not displaying the totals.

 

Please suggest me something for this. 

 

Thanks in advance


Best Regards
Kranti Kiran Kumar Parisa
Mobile: +91 - 9849 - 625 - 625             +91 - 9391 - 438 - 738 


-- 
------------------
Best Regards
Kranti Kiran Kumar Parisa

Mobile: +91 - 9849 - 625 - 625             +91 - 9391 - 438 - 738 

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your 

opinions on IT & business topics through brief surveys-and earn cash

http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
displaytag-user mailing list

displaytag-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/displaytag-user

 







Looking for earth-friendly autos? 

Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center. 

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT 

Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash

http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
displaytag-user mailing list

displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user 






-- 
------------------
Best Regards
Kranti Kiran Kumar Parisa
Mobile: +91 - 9849 - 625 - 625             +91 - 9391 - 438 - 738 
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your

opinions on IT & business topics through brief surveys-and earn cash

http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/displaytag-user
 









Be a PS3 game guru.
Get your game face on with the latest PS3 news and previews at Yahoo! Games.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your

opinions on IT & business topics through brief surveys-and earn cash

http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
displaytag-user mailing list

displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user






-- 
------------------
Best Regards
Kranti Kiran Kumar Parisa
Mobile: +91 - 9849 - 625 - 625             +91 - 9391 - 438 - 738 
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user







 
____________________________________________________________________________________
Finding fabulous fares is fun.  
Let Yahoo! FareChase search your favorite travel sites to find flight and hotel 
bargains.
http://farechase.yahoo.com/promo-generic-14795097
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to