O'Reilly logo

Learning PrimeFaces Extensions Development by Sudheer Jonna

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Understanding and implementing fully controlled custom exporter

The custom exporter provides full control to the developer for making the changes according to his requirements and design. You can implement the custom requirements in both PDFExporter and ExcelExporter implementations.

You have to use the Service Loader concept throughout the application to implement the custom exporter feature.

Proceed with the following steps to implement the custom exporter feature:

  1. Create the META-INF folder under the classpath resources folder and create the services folder under the META-INF folder by navigating to Resources | META-INF | Services.
  2. Create the ExporterFactory file with the full absolute path as org.primefaces.extensions.component.exporter.ExporterFactory ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required