Printer
Printer is used to print only a certain JSF component, not the whole page. A printer is very flexible and can be attached to any command trigger like buttons and links.
Printer is used to print only a certain JSF component, not the whole page. A printer is very flexible and can be attached to any command trigger like buttons and links.
<h:form>
<h:commandButton value="Print" type="button" icon="ui-icon-print">
<p:printer target="image" />
</h:commandButton>
<p:graphicImage id="image" value="/images/nature1.jpg" />
</h:form>
© 2009-2011 • Prime Teknoloji.
Running PrimeFaces-3.2 on Mojarra-2.1.4
