Hi Ramsey,
My tags are properlies set. When I remove ERPDFWrapper tag, My page displays well and data have time to fetch. When I put ERPDFWrapper tag, I have result.pdf malformed file and when I click on OK, then my data fetch after.
Try loading the page without the pdf wrapper first and running the resulting html you get through W3C's validator.
My tags are properlies set. When I remove ERPDFWrapper tag, My page displays well and data have time to fetch. When I put ERPDFWrapper tag, I have result.pdf malformed file and when I click on OK, then my data fetch after.
Try loading the page without the pdf wrapper first and running the resulting html you get through W3C's validator.
ERPFWrapper work only with xhtml?
Are you fetching data on a separate thread using a long response or something? That sounds like your page is not blocking the current thread until page generation is done.
Yes, I fetch data on separate thread but I don't use a long response page.
How I used a long response.
1 - after click ------>fetching data thread
2 - long response (time to fetch all data for pdf page)
3 - call the page which is tag with ERPDFWrapper
Thanks for your help
Envoyé depuis iCloud
Le 16 nov 2011 à 09:35, Ramsey Gurley <[email protected]> a écrit :
On Nov 16, 2011, at 10:24 AM, Raymond NANEON wrote:Hi Ramsey,I use woongl in my page, the tag is not properly set.Try loading the page without the pdf wrapper first and running the resulting html you get through W3C's validator.If your output page is not well formed xhtml, the PDF generator will not work. You must generate valid code or else it will fail.I would like to know why the fetching data is not finished and the pdf file is generatedAre you fetching data on a separate thread using a long response or something? That sounds like your page is not blocking the current thread until page generation is done.and how to change pdf file name.There is a 'filename' binding on ERPDFWrapper. Set that and you'll get something besides result.pdf.Thanks
Envoyé de mon iPhoneI'm not sure how it's becoming malformed for you, but I do know that the PDF generator requires well formed xhtml. If you are missing end tags or have an unencoded & anywhere, you're going to be disappointed.RamseyOn Nov 16, 2011, at 2:11 AM, Raymond NANEON wrote:_______________________________________________Hi All,I tried to generate a PDF file using ERPDFWrapper but I have a result.pdf file which is malformed. The page haven't time to get fetching data and the .pdf file is generated.So how Can I fix it.1:/ get fetch data2:/ generate pdf file from dataPS : There is a way to change file name?thanks for your helpsEnvoyé depuis iCloudThanks Ramsey and Pascal for the quick reaction and great help :DRayEnvoyé depuis iCloudBTW, that one is also on YouTube:
http://www.youtube.com/wocommunity
> Check out ERPDF in 60 seconds on the podcast:
>
> http://www.wocommunity.org/podcasts/wopodcasts.xml
>
> Ramsey
>
> On Nov 8, 2011, at 9:22 AM, Raymond NANEON wrote:
>
>> Hi All,
>>
>> I am trying to generate a PDF file from a page of my apps and I saw ERPDFGeneration plugin in the WONDER Library. I want to know if someone have used it and have a little tutorial to show me how it works.
>>
>> Thanks
>> Envoyé depuis iCloud
>> _______________________________________________
>> 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/rgurley%40smarthealth.com
>>
>> This email sent to [email protected]
>
> _______________________________________________
> 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/probert%40macti.ca
>
> This email sent to [email protected]
_______________________________________________
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/rnaneon%40me.com
This email sent to [email protected]
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/rgurley%40smarthealth.com
This email sent to [email protected]
_______________________________________________ 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]
