Hi Joost,

This is a good solution, is there any maven dependencies I can directly
specify to pull down the Flying Saucer? or some codes that I can directly
use in a T5 app? 

Thanks,

Angelo


Joost Schouten (mailing lists) wrote:
> 
> Another option is to use Flying Saucer [1] to render the html in pure
> java. I use it with iText [2] to create pdf's from any xhtml page.
> This is a nice combination as it basically allows you to template your
> pdf's with tapestry pages. So from within a Tapestry page you retreive
> any html with the use of an URLConnection (in my case another page in
> my own app) and return it in the form of an pdf.
> 
> I'm sure there are ways to render to images i n Flying Saucer as well.
> 
> Good luck,
> Joost
> 
> [1] https://xhtmlrenderer.dev.java.net/
> [2]
> http://today.java.net/pub/a/today/2007/06/26/generating-pdfs-with-flying-saucer-and-itext.html
> 
> On Thu, Dec 30, 2010 at 5:19 PM, Donny Nadolny <donny.nado...@gmail.com>
> wrote:
>> Kind of. You can run it using xvfb (assuming linux), so you don't need a
>> full x server.
>>
>> Selenium is a remote control tool for browsers, mainly used for writing
>> tests for webapps. It starts up firefox (or ie, chrome, or safari) and
>> controls the browser, telling it to click on links / type things, and you
>> can make assertions on the output. Usually it's only run on developer/CI
>> machines, not on your production machine, although I've seen it done.
>>
>> On Thu, Dec 30, 2010 at 11:12 AM, Angelo C. <angelochen...@gmail.com>
>> wrote:
>>
>>>
>>> Thanks for the quick answer, not so familiar with selenium, can it be
>>> run
>>> headless in the server?
>>> --
>>> View this message in context:
>>> http://tapestry.1045711.n5.nabble.com/T5-archiving-a-page-tp3322541p3322591.html
>>> Sent from the Tapestry - User mailing list archive at Nabble.com.
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
>>> For additional commands, e-mail: users-h...@tapestry.apache.org
>>>
>>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
> 
> 
> 

-- 
View this message in context: 
http://tapestry.1045711.n5.nabble.com/T5-archiving-a-page-tp3322541p3323061.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

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

Reply via email to