Hi All,

I have a pretty bizarre problem...

There's a neat little project called 'flying saucer' which is a handy way to create PDF files (among other things) from HTML.

In my tapestry project I need to create a PDF file and save it to hard disk.

To do this, on a separate thread to any http request, I programmatically create some html, push it through the flying saucer API as a stream, and write the output to a file.

All this is fairly simple, however within a tapestry project the easiest way to create HTML is via tapestry and I'd like to capitalise on this.

I imagine I can make my own http request to the running tapestry project in order to do this, but I'm not clear on the best way to inject some state information into scope of the request so that it knows what html it needs to generate.

So forget PDF's and flying saucers for a moment, what is the tidiest way to use tapestry to generate html within the application (ie not on the client)?

hopefully I've explained what I need to do adequately, sorry if it's not clear.

Regards, Paul.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to