Useful documents will need to contain more than just text; however, the standard UI components are geared towards HTML generation and are not useful for generating PDF content. Instead, Seam provides a special UI components for generating suitable PDF content. Tags like <p:image> and <p:paragraph> are the basic foundations of simple documents. Tags like <p:font> provide style information to all the content surrounging them.
<p:document xmlns:p="http://jboss.com/products/seam/pdf">
<p:image alignment="right" wrap="true" resource="/logo.jpg" />
<p:font size="24">
<p:paragraph spacingAfter="50">My First Document</p:paragraph>
</p:font>
<p:paragraph alignment="justify">
This is a simple document. It isn't very fancy.
</p:paragraph>
</p:document>