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?

> 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?

> • 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.

> • 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?

-- 
Seeya...Q

Quinton Dolan - [email protected]
Gold Coast, QLD, Australia (GMT+10)




Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to