• 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: ERPDFGenerator and Charts
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ERPDFGenerator and Charts


  • Subject: Re: ERPDFGenerator and Charts
  • From: Sergio Sánchez Maffet <email@hidden>
  • Date: Fri, 01 Jul 2011 12:40:48 +0200

On 01.07.2011, at 02:02, Q wrote:

>
> On 01/07/2011, at 6:05 AM, Sergio Sánchez Maffet wrote:
>
>> Hi all,
>>
>> Maybe there is someone who can help with this issue.
>> Need to create a PDF including a chart.
>>
>> Have tried:
>>
>> ERPDFUtilities.pageAsPdf(pdfPage)
>>
>> With pdfPage being a normal WOComponent including a ERPCategoryChart element, but this does not work.
>> I'm getting a PDF page, but the chart image is missing. The produced HTML is ok, even the temporary image URL is providing the image correctly.
>> It seems that the image is not even requested by the PDF renderer. Any Ideas?
>
> What are you seeing that makes you think the image is not being requested?

I can download the image exactly one time. Nothing in the logs.

>
>> After looking through the list, I have found an old (2007/06/04) mail from Anjo Krank regarding "ANN: PDFGenerator 2.1 update coming".
>> There is something mentioned about charts... is it the same framework?
>
> No.
>
>> My questions are:
>>
>> • Is there something new in WONDER that can help me out?
>
> Are you running from the most recent source?

Not sure if it is the latest, will try an update.

>
>> • Is the way, I'm trying to do it, right? (ERPCategoryChart inside my PDF component) Or is there some better solution?
>
> That should work fine.

OK, nice going the right way...

>
>> • How can I get it working? Why does the image not show up?
>
> I have tested it on an example app I have and it works fine for me.
>
>>
>> Any help is greatly appreciated.
>
>
> If you try viewing the page with it wrapped in an ERPDFWrapper component does the graph show up then?
> Are you doing anything that might cause the temporary image to be fetched before the pdf generation takes place?
>

s.o. I can download the image only once, that indicates, that nobody else is trying to download it...
I'm using ERPDFUtilities.pageAsPdf(), which is an ERPPDFWrapper...


> --
> Seeya...Q
>
> Quinton Dolan - email@hidden
> Gold Coast, QLD, Australia (GMT+10)
>
>
>
>

 _______________________________________________
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: ERPDFGenerator and Charts
      • From: Q <email@hidden>
    • Re: ERPDFGenerator and Charts
      • From: Sergio Sánchez Maffet <email@hidden>
  • Next by Date: Re: ERPDFGenerator and Charts
  • Next by thread: Re: ERPDFGenerator and Charts
  • Index(es):
    • Date
    • Thread