• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: ERJasperReports: how to perform an operation with the generated file?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ERJasperReports: how to perform an operation with the generated file?


  • Subject: Re: ERJasperReports: how to perform an operation with the generated file?
  • From: Theodore Petrosky <email@hidden>
  • Date: Mon, 20 Feb 2017 09:15:43 -0500

I don’t know if it helps but looking at ERJRUtilities.java, ERJasperReports works by saving a temp file. the temp file is not deleted until the application quits normally. Can you grab the temp file?

BTW, if you use ERJasperReports, you must set your deployed application to terminate regularly to clear out these temp files.



> On Feb 20, 2017, at 9:07 AM, Flavio Donadio <email@hidden> wrote:
>
> Hello, all!
>
>
> In my D2W app, I have a button (in the list page for an entity) that the user can click to download that list in PDF format, generated with ERJasperReports. I use a CCAjaxLongResponsePage, just like the demo (https://github.com/wocommunity/wonder/blob/master/Examples/Reporting/ERJasperReportsExample/Sources/er/jrexample/components/Main.java) and everything works fine.
>
> Now, I don’t want the user to download the file anymore, but to have the file sent through e-mail. I tried call()'ing the Callable<File> to get the file and send it, but the task takes too long and the request times out (some really strange things happen). Then I tried some “LongResponse" classes, but only CCAjaxLongResponsePage can deal with a task and I can’t find a way to get the file from that component...
>
> I’m lost. Can someone point me in the right direction?
>
>
> Cheers,
> Flavio
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: ERJasperReports: how to perform an operation with the generated file?
      • From: Flavio Donadio <email@hidden>
References: 
 >ERJasperReports: how to perform an operation with the generated file? (From: Flavio Donadio <email@hidden>)

  • Prev by Date: ERJasperReports: how to perform an operation with the generated file?
  • Next by Date: Re: ERJasperReports: how to perform an operation with the generated file?
  • Previous by thread: ERJasperReports: how to perform an operation with the generated file?
  • Next by thread: Re: ERJasperReports: how to perform an operation with the generated file?
  • Index(es):
    • Date
    • Thread