Haven't tried this myself yet, but Seam can generate PDFs.
http://docs.jboss.com/seam/2.0.0.B1/reference/en/html/itext.html
- Mike
On 06/08/07, David Delbecq <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> i come across a requirement where i need to generate a PDF, by adding
> text at specific location inside an existing pdf. I thought about using
> a servlet that does it using itext. However, after turning on my brain,
> i think it would be very interresting if you could instead do something
> like this in a JSF/Facelet application:
> <x:pdf value="#{someBinaryDocument}">
> <x:page number="1">
> <x:outputText value="#{someBean.property}">
> <some classical JSF converter>
> </x:outputText>
> </x:page>
> </x:pdf>
>
> I know how to create binary output from a JSF component (get
> outpustream, set headers, set responseComplete())
>
> Oracle ADF has a telnet renderer, i suppose there could exist some PDF
> based renderers out there. Interest would be to generate PDF output as
> easily as html output. It does not seems so difficult to implement a few
> PDF based JSF components using itext. However, i'd like to prevent
> stupid double work if this stuff already exist somewhere.
>
> Anyone know of existing library for this?
>
> --
> http://www.noooxml.org/
>
>