myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jurgen Lust <>
Subject Re: make pdf using JSF
Date Mon, 06 Aug 2007 09:37:00 GMT
You can do this with JBoss Seam:


Op maandag 06-08-2007 om 11:32 uur [tijdzone +0200], schreef David
> 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="#{}">
>           <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?
Jurgen Lust

View raw message