Not a subtype error when trying to create a custom exporter

Community Driven Extensions Project
Post Reply
Jvosantos
Posts: 4
Joined: 09 Dec 2015, 21:18

20 Apr 2017, 03:49

Hello, I am trying to create a Custom Exporter in order to hide the header of a Data Table, I've followed the steps I found on the extensions showcase page and here on the forum.

When trying to export a datatable I get the following error

Provider br.com.exportertest.util.CustomExporterFactory not a subtype

I think I've done the vast majority of steps the right way, since the exporter is really calling my custom class, so what should I do to make it a subtype and not get this error?

User avatar
Melloware
Posts: 230
Joined: 22 Apr 2013, 15:48

20 Apr 2017, 13:23

This is really @sudheer's component and expertise so I will let him answer in more detail...

The only question I have is are your class implements Exporter Factory like?

Code: Select all

public class CustomExporterFactory implements rg.primefaces.extensions.component.exporter.ExporterFactory
PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces 6.1 / PF Extensions 6.1.1

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest