I use primefaces extensions documentViewer
to display pdfs:
<pe:documentViewer id="docViewerId" value="#{contentBL.inlineContent}" name="#{contentBL.getContentDataName()}" />
This works so far until I give the attribute name a value like in the code above. Then the viewer does not show the pdf with a message:
PDF.js Version 1.0.21 (build: f954cde) Nachricht: InvalidPDFException
I want to define the name of the file if the pdf is downloaded.
I am using PF extensions 3.2.0.