[ 
http://jira.codehaus.org/browse/DISPL-592?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=180018#action_180018
 ] 

Michael Osipov commented on DISPL-592:
--------------------------------------

I misunderstood the concept of the TableWriteTemplate and Default and 
non-Default views. Using ExcelHssfView.java instread of 
DefaultHssfExportView.java resolves the issue!

> Excel export shows only sublists
> --------------------------------
>
>                 Key: DISPL-592
>                 URL: http://jira.codehaus.org/browse/DISPL-592
>             Project: DisplayTag
>          Issue Type: Bug
>          Components: Export
>    Affects Versions: 1.1.1
>            Reporter: Michael Osipov
>            Priority: Critical
>         Attachments: DISPL-592.patch
>
>
> I do export my tables with the 
> org.displaytag.export.excel.DefaultHssfExportView class. My export.amount is 
> set to list and not page.
> Doing HTML, PDF, XML the export contains the entire list. Doing an Excel 
> export reveals the same page as HTML. I tracked down the bug I reaized  that 
> HTML Export and Excel Export subclass TableWriterTemplate which always says 
> in #writeTableBody "rowIterator = model.getRowIterator(false);"
> Setting to rowIterator = 
> model.getRowIterator(model.getProperties().getExportFullList()); does not 
> completely resolve it because HTML shows everything.
> I have attached a patch with resolves the issue but I do think that this can 
> be done better and cleaner for both (html, xls) types.

-- 
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

        

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
displaytag-devel mailing list
displaytag-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-devel

Reply via email to