Page 1 of 1

Not a subtype error when trying to create a custom exporter

Posted: 20 Apr 2017, 03:49
by Jvosantos
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?

Re: Not a subtype error when trying to create a custom exporter

Posted: 20 Apr 2017, 13:23
by Melloware
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