I have had memory problems when exporting larg amounts of data as well.
So I have overrided default implementation specifing my own export class
inside displaytag.properties:
export.pdf.class=<you implementation class>
I noticed that old implementations has duplicated the data list object.
So imagine, if you load 100000 rows inside a list, your exportation
class will recreate another 100000 list with suitable objects to be
exported, i.e. all the records again! So I changed the implementation
and the exportation is done with shorter amounts of data, like just 500
records per time.
You can also integrate Display Tag with pagination patterns as I have
already told but I have never tried this before.
Best Regards,
José Renato.
SJ escreveu:
Thanks for you reply. I know memory is a limit here. But I was thinking how
fast and reliable it is when exporting thousands of records. I will try and
hope it works fine.
Thanks
José Renato-2 wrote:
I suppose that your limit is your memory amount. I have already exported
lists bigger than 70000 rows. Excel (not 2007) has 65536 as limit for
rows and columns, but csv, rtf, xml or even pdf I ignore. You can also
implement your pagination pattern if you preffer, I dont know exactly
how Display Tag uses the list for pagination but you can configure all
the amount per page and so on.
Best Regards,
José Renato.
Is there any limit to the number rows(objects in a collection) that
display
tag can handle for display, pagination and for exporting to pdf, excel or
csv.
Also how it handles the pagination for large collection objects, let's
say
more than 1000 objects in a collection where 100 rows are displayed at
one
time in the page.
Thanks
Shyamsunder
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user