Exporter ignores exportFunction from column

Community Driven Extensions Project
Post Reply
Hamsterbau
Posts: 409
Joined: 28 Dec 2011, 17:44

01 Sep 2017, 20:18

Hi,

i got the following problem, using the latest version of primefaces extensions (6.1.0) with Primefaces (6.1). If i use the original "Exporter" shipped with Primefaces, columns with exportFunction will be handled correctly and the downloadable file (file.xls for example) will have the data returned by this function, if available.

Primefaces Extention Exporter, on the other hand, ignores this optional setting and always returns the cell value defined under the column tag. Is this a known limitation or simply a bug, which will be fixed soon?
My problem with complex datatables is, that in some cases you cannot export the stuff from a table cell directly and the Primefaces Exporter has the ability to overcome this limitation by using exportFunctions. But Primefaces Exporter do not has the neat customization features like the Primefaces Extension Exporter :?

So, currently i have to decide:
  • Customizable cell value output (Primefaces Exporter) or
  • Customizable Exporter (Primefaces Extension Exporter)
but not both.

Would be nice if Primefaces Extension Exporter could also make use of exportFunction.

Have a nice day

Daniel
Primefaces 8.0.7 (PF Extensions 8.0)
JSF: Mojarra 2.3.2 (Spec 2.3) - running on WildFly 22

Melloware
Posts: 3716
Joined: 22 Apr 2013, 15:48

01 Sep 2017, 21:11

You are correct. PFE was never updated to handle the new exporter function. Feel free to report on our GitHub issues page...

https://github.com/primefaces-extension ... com/issues
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1

Hamsterbau
Posts: 409
Joined: 28 Dec 2011, 17:44

01 Sep 2017, 22:51

Thanks for the answer, but i cannot add an issue because of no existing github account 🙁
Primefaces 8.0.7 (PF Extensions 8.0)
JSF: Mojarra 2.3.2 (Spec 2.3) - running on WildFly 22

tandraschko
PrimeFaces Core Developer
Posts: 3979
Joined: 03 Dec 2010, 14:11
Location: Bavaria, DE
Contact:

02 Sep 2017, 09:13

Creating a account takes ~1min :P
Thomas Andraschko

PrimeFaces | PrimeFaces Extensions

Apache Member | OpenWebBeans, DeltaSpike, MyFaces, BVal, TomEE

Sponsor me: https://github.com/sponsors/tandraschko
Blog: http://tandraschko.blogspot.de/
Twitter: https://twitter.com/TAndraschko

Hamsterbau
Posts: 409
Joined: 28 Dec 2011, 17:44

02 Sep 2017, 09:53

I know, i will do it - you can never have enough accounts :roll:
Primefaces 8.0.7 (PF Extensions 8.0)
JSF: Mojarra 2.3.2 (Spec 2.3) - running on WildFly 22

Melloware
Posts: 3716
Joined: 22 Apr 2013, 15:48

02 Sep 2017, 16:07

Fixed! And I put a SNAPSHOT release link in the ticket if you want to download the JAR and give it a try.

https://github.com/primefaces-extension ... issues/481
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1

Post Reply

Return to “Extensions”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 3 guests