[ http://jira.codehaus.org/browse/DISPL-292?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=162152#action_162152 ]
Carlos Alonso commented on DISPL-292: ------------------------------------- Hi, all Sorry about my poor english, it's not my natural language. The problem with "DISPL-292 Export to Excel, PDf y RTF doesn't export all the LIST" in version 1.2 is caused for the class PaginationHelper, and also is necesary the path proposed "DISPL-292-displaytag-patch.txt" by "Jorge L. Barroso". The problem with class PaginationHelper is that in the constructor of the class, it haven't got any parameter refer to "especial pagination relation with export", by default always is the same "size of pagination". Then the Iterator that return the method "getIterator()" is minor of the size o all my list to export. I can't publish my solution, because it's a concrete solution for my problem, but the only I did it was to include the parameter boolean "export.amount" (this.properties.getExportFullList()) in the construtor for build the correct Iterator of my List with all values, if it is a export table. The call to the class PaginationHelper, in the class TableTag, is in the line 1098: ------------------------------------------------------------- 1098: PaginationHelper paginationHelper = new PaginationHelper(pageNumber, pagesize); ------------------------------------------------------------- Cheers. Carlos > 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 > Issue Type: Bug > Components: Export > Affects Versions: 1.1 > Reporter: Jaume Guillamon > Priority: Critical > Fix For: 1.3 > > Attachments: DISPL-292-displaytag-patch.txt, > displaytag-good-1.1.1.jar, DisplayTag_1.1.ExportAll_Jaume.jar > > > When I use the Export utility and I code the line <display:setProperty > name="export.excel.export_amount" value="list"></display:setProperty>, 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: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ displaytag-devel mailing list displaytag-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/displaytag-devel