You can configure a different exporter for a media type by specifying the following in your properties file or with the setProperty tag.

export.[mediaType].class=some.export.view

To use the original excel and pdf export views, do:
# text-based excel exporter
export.excel.class=org.displaytag.export.ExcelView
# or for hssf excel exporter
export.excel.class=org.displaytag.export.ExcelHssfView
# original pdf exporter
export.pdf.class=org.displaytag.export.PdfView

These export views, however, don't export captions, footers, or respect the grouping and sorting rendered on the html page.  They do observe the export partial or full list config.  The fix for this issue will be included in release 1.1.1.

-Jorge

"Bob Barney (JIRA)" <[EMAIL PROTECTED]> wrote:
[ http://jira.codehaus.org/browse/DISPL-292?page=comments#action_60610 ]

Bob Barney commented on DISPL-292:
----------------------------------

> But for now the easiest solution might be to introduce non-WYSIWYG Excel, PDF, and RTF exports that simply obey all the "legacy" exporting config properties. Users can then choose one or the other.

I am afraid that I don't know how to do this. Do you have any examples that I could mimic?

Stephen

> Export to Excel, PDf y RTF doesn't export all the LIST
> ------------------------------------------------------
>
> Key: DISPL-292
> URL: http://jira.codehaus.org/browse/DISPL-292
> Project: DisplayTag
> Type: Bug

> Components: Export
> Versions: 1.1
> Reporter: Jaume Guillamon
> Priority: Critical
> Fix For: 1.1.1

>
>
> When I use the Export utility and I code the line , or I use the propertites, displaytag only exports the PAGE (10 records), not the LIST. but it only happens when I export to EXCEL, PDf y RTF.
> When I export to XML and CSV all runs fine (1604 records are exported).
> Any of you with the same problem ?
> Thx,
> Jaume

--
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 xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
displaytag-devel mailing list
displaytag-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-devel


Brings words and photos together (easily) with
PhotoMail - it's free and works with Yahoo! Mail.

Reply via email to