Hello Support, I am looking for a simple solution to print out the content of a table from a JSF-Dialog. Is there a possibilty to do this with JSF resp. Primefaces? Richard Schmid Azteka asked 14.01.2016 at 14:13 Richard Schmid |
Once you sign in you will be able to subscribe for any updates here
By RSS:Markdown Basics
Tags:
Asked: 14.01.2016 at 14:13
Seen: 4,182 times
Last updated: 27.01.2016 at 11:47
What do you mean with print? By default every Html page is printable! The DataExporter would also support to export to EXCEL/PDF.
Hallo Herr Strebel,
das hatte ich versucht wie im primefaces-Beispiel vorgeschlagen. Ich bekomme dann aber den irritierenden Fehler: "Uncaught ReferenceError: myface ist not defined customerOrderPage.xhtml:1 onClick (at) customerOrderPage.xhtml:1
could it be that you do not have a <h:head> section in your example? see http://stackoverflow.com/questions/14553417/uncaught-reference-error-primefaces-is-not-defined
Did you add the needed libraries like iText for PDF and Apache POI for exel? See here how to do it: http://answers.axonivy.com/questions/983/error-of-using-p-dataexporter-in-ivy-5