primefaces dataExporter PDF problem in version 13.0.0 #67
Replies: 1 comment 2 replies
-
Because iText is not open source after version 2.17 we stopped using it and now use Libre PDF. See: https://primefaces.github.io/primefaces/13_0_0/#/gettingstarted/dependencies <dependency>
<groupId>com.github.librepdf</groupId>
<artifactId>openpdf</artifactId>
<version>1.3.29</version>
</dependency> Could that be your issue? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a problem. Since I updated the primefaces version to 13.0.0.0 the datatable export via the p:dataExporter component has stopped working. I have seen that they have changed the PDF export libraries but I have tried several different ways and it returns an empty pdf.
Part of my pom.xml file:
.....
My part of the code where I use the component:
<p:commandLink>
<p:dataExporter type="pdf" target="dataTable" fileName="listado_contactos_#{util.randomString(7)}" pageOnly="false"/>
</p:commandLink>
Thanks!!
Beta Was this translation helpful? Give feedback.
All reactions