This content has been marked as final.
Show 1 reply
-
1. Re: Seam PDF & p:image
mdesignz Nov 2, 2010 6:47 PM (in response to ginni)Embed the image within another component like p:table.
<p:table borderWidth="0" columns="2" widths="1 1" rendered="#{yourBeanHere}"> <p:cell borderWidth="0"> <p:image value="yourImageHere" /> </p:cell> <p:cell/> </p:table>
I use the column widths to adjust the size of the rendered image. The p:image value can reference some bean that contains the image data if you're loading from a database for example. There are probably other ways to do this, but I found this works well.