Re: Help with Tapestry Page and iText

2010-01-01 Thread Thiago H. de Paula Figueiredo
Em Fri, 01 Jan 2010 09:11:13 -0200, Inge Solvoll escreveu: Shouldn't be too hard. Do this in your page class: Object afterRender(MarkupWriter writer) { Document doc = writer.getDocument(); ITextDocument itextDoc = convertT5DocToItext(doc); return new ITextStreamResponse(itextDoc); } What

Re: Help with Tapestry Page and iText

2010-01-01 Thread Inge Solvoll
Shouldn't be too hard. Do this in your page class: Object afterRender(MarkupWriter writer) { Document doc = writer.getDocument(); ITextDocument itextDoc = convertT5DocToItext(doc); return new ITextStreamResponse(itextDoc); } I think you can also gain access to all generated markup from the Marku

Help with Tapestry Page and iText

2009-12-31 Thread Ashwanth Kumar
Hello, Happy new year to all!! (Its new year here in India).. Okay, i need a small help! I want to generate a PDF file, based on the generated page in Tapestry.. I've plans of using iText to generate PDF. Can any one help me? How to get it done!! PS: On cliking Download PDF link, the PDF should