You should be able to create a custom page wrapper and use a rule to set the "enabled" binding on ERPDFWrapper to turn any valid XHTML page into a PDF.
On 04/08/2011, at 7:33 PM, Johan Henselmans wrote: > > Op 4 aug. 2011, om 11:22 heeft Paul Hoadley het volgende geschreven: > >> On 04/08/2011, at 6:36 PM, Johan Henselmans wrote: >> >>> Is there any concise example that someone can share? >> >> There's a short screencast of Quinton's that shows you how to get >> ERPDFGeneration off the ground using the ERPDFWrapper component. >> >> http://idisk.mac.com/qdolan-Public/webobjects/PDFIn60Seconds.mov >> > > Thanks, I have seen that one, but it does not explain how to get a D2W > ListPage or InspectPage to be downloaded as a PDF document, it is in the > 'regular' WOComponent way. > > But thanks anyway. > >> See also the component's Javadocs: >> >> http://webobjects.mdimension.com/hudson/job/Wonder/javadoc/er/pdf/ERPDFWrapper.html >> >> 1. The component content must be valid XHTML. >> 2. ERPDFWrapper should be the outermost component on the page, and the >> closing tag should not have any trailing content, even whitespace. >> 3. The default rendering engine (FlyingSaucer + iText) understands some >> print-specific CSS, such as page sizes, the 'page-break-inside' property. >> >> >> -- >> Paul. >> >> http://logicsquad.net/ >> >> > > Johan Henselmans > jo...@netsense.nl > > > > _______________________________________________ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/webobjects-dev/qdolan%40gmail.com > > This email sent to qdo...@gmail.com
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com