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%20Schmid's gravatar image

Richard Schmid
accept rate: 25%

What do you mean with print? By default every Html page is printable! The DataExporter would also support to export to EXCEL/PDF.

(22.01.2016 at 09:05) Christian St... ♦ Christian%20Strebel's gravatar image

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

(22.01.2016 at 14:04) Richard Schmid Richard%20Schmid's gravatar image

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

(27.01.2016 at 08:44) Reguel Werme... ♦♦ Reguel%20Wermelinger's gravatar image

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

(27.01.2016 at 11:47) Christian St... ♦ Christian%20Strebel's gravatar image
Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 14.01.2016 at 14:13

Seen: 4,090 times

Last updated: 27.01.2016 at 11:47