title: How to override Primefaces extension exporter
body: <p>Can anyone explain how to override the Primefaces extension's exporter. I want to customize the PDFexporter.But dont know which all files has to be kept in workarea and which path.I did create a META-INF folder under resources folder and that a folder named as services.Inside that created a file named as </p>
  
  <p><code>org.primefaces.extensions.component.exporter.ExporterFactory</code> containg a one line text as <code>common.util.CustomExporter</code> which is the name of the custom exporter class I wanted to make use of.</p>
  
  <p>In that class I extended the <code>exportValue()</code> method and wrote my own code.
  However, while I am trying to generate the PDF I am getting the following error</p>
  
  <pre><code>HTTP Status 500 - org.primefaces.extensions.component.exporter.ExporterFactory: Provider common.util.CustomExporter could not be instantiated: java.lang.ClassCastException: Cannot cast common.util.CustomExporter to org.primefaces.extensions.component.exporter.ExporterFactory
  </code></pre>
  
  <p>So please explain where I am going wrong or what I am missing?</p>