Menu

How to export full results

Help
vmrao
2008-04-25
2012-10-09
  • vmrao

    vmrao - 2008-04-25

    My results are displayed on multiple pages with certain number of records per page. Export options also work fine except it is exporting only the records on the current page, not the full set. What properties need to be set for exporting full results ?

    Here is the code snippet from my displaytag.properties file.

    export.excel.class=org.displaytag.export.excel.DefaultHssfExportView
    export.pdf.class=org.displaytag.export.DefaultPdfExportView
    export.rtf.class=org.displaytag.export.DefaultRtfExportView

    I think this is a common requirement. However, I cannot find any info related to this. Anyone, please suggest what to do ? Thanks.

     
    • jefffh

      jefffh - 2008-07-08

      Did you ever get a solution to this? I switched from struts to netui and now I have the same problem.
      Thanks

       
      • jefffh

        jefffh - 2008-07-08

        A table, with a pagesize setting, that exports a full list as expected in a struts app, only exports displayed rows when using netui. I've tried explicitly setting export.amount=list, partiallist=false,...the typical "grasping for straws" kinda behavior. The configuration is virtually identical for both apps. My only conclusion is that netui is stepping on a displaytag setting.

        Has anyone who uses Netui also experienced the same or does it work fine for you?

        Thanks

         

Log in to post a comment.