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

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

        

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
displaytag-devel mailing list
displaytag-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-devel

Reply via email to