Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Learning PrimeFaces Extensions Development

You're reading from   Learning PrimeFaces Extensions Development This book covers all the knowledge you need to start developing extended or advanced PrimeFaces applications. With lots of screenshots and a clear step-by-step approach, it makes learning an enjoyable process.

Arrow left icon
Product type Paperback
Published in Mar 2014
Publisher
ISBN-13 9781783983247
Length 192 pages
Edition Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Sudheer Jonna Sudheer Jonna
Author Profile Icon Sudheer Jonna
Sudheer Jonna
Arrow right icon
View More author details
Toc

Table of Contents (14) Chapters Close

Learning PrimeFaces Extensions Development
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
1. Introducing PrimeFaces Extensions FREE CHAPTER 2. Enhanced Form and Editor Components 3. Layout and Screen Blocking Components 4. The Enriched Data Container and QR Code Components 5. Time Tracking and Scheduling Components 6. Extended Data Reporting and Image Components 7. Common Utility Solutions, Error Handling, and Plugins Index

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.

  3. Add the implementation class of ExporterFactory in the web project.

    For example, the JobHub application provided CustomExporterFactory as an implementation of ExporterFactory.

    In the following code, you will call either default or custom file...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime