PrimeFaces Beginner's Guide

More Information
  • Explore built-in AJAX features and various PrimeFaces utility components
  • Use Partial Page Rendering(PPR) and the JQuery Selector API
  • Create forms with text fields, dropdowns, radio buttons and User Interfaces with advanced components like Calendar, AutoComplete, Star Rating, and PickList
  • Discover additional components like file upload and download components and data table components to display data with pagination
  • Filter support and export data to PDF or Excel sheet
  • Display data using tree and TagCloud components
  • Create a sophisticated navigation system using menus, multi-level menus and breadcrumbs and complex layouts using layouts, PanelGrids, tabs, and accordion panels

PrimeFaces is a lightweight UI component framework for JSF based applications. PrimeFaces is very easy to use because it comes as a single JAR file and requires no mandatory XML configuration. It provides more than 100 UI Components and an in-built AJAX support. It also provides theme support for UI components with more than 30 themes out-of-the-box. With PrimeFaces, developers can create rich user interfaces very easily.

PrimeFaces Beginners Guide is a practical, hands-on guide that provides you with clear step-by-step exercises,that will help you to learn and explore the features of PrimeFaces.

PrimeFaces Beginners Guide starts by showing you how to install PrimeFaces, create sample forms, and perform validations and then looks at various commonly used PrimeFaces utility components. Next, you will look into various basic text input components like form controls, Calendar, AutoComplete, and Rich Text Editor. Then you will learn about advanced UI components such as DataTables, panels, menus,and charts. Throughout the chapters we will be building a sample web application using PrimeFaces progressively that will give you a hands-on experience on using PrimeFaces effectively.

You will learn how to create complex layouts using accordion panels, tab views, sophisticated menu navigations, breadcrumbs and much more. You will also learn how to display data using DataTable with pagination, filters, and lazy loading, and how to export data to Excel or PDF features. You will learn how to represent data in various formats like trees, charts, and TagCloud. You will also learn how to build an application supporting multiple themes.

With this PrimeFaces Beginner’s Guide , you will learn how to use PrimeFaces easily and effectively.

  • Detailed explanation on how to use basic PrimeFaces UI components like form controls, panels, and layouts
  • Delve into PrimeFaces advanced UI Components like Data Tables, menus, charts, file uploading, and themes
  • Easy to read and learn with its step-by-step instructions in Time for action and What just happened sections
Page Count 378
Course Length 11 hours 20 minutes
ISBN 9781783280698
Date Of Publication 25 Nov 2013
Introducing the Message component
Time for action – displaying FacesMessage using
Time for action – displaying FacesMessage with HTML content
Introducing the Messages component
Time for action – displaying FacesMessage using
Displaying notifications using the growl component
Time for action – displaying FacesMessages with growl
Displaying tooltips using the Tooltip component
Time for action – displaying tooltip for UI components
Time for action – using global tooltips
Partial Processing and Rendering using the Fragment component
Time for action – using the Fragment component
Introducing the Sticky component
Introducing the RequestContext utility
Time for action – updating UI components using RequestContext.update()
Time for action – executing JavaScript using RequestContext.execute()
Time for action – adding callback parameters using RequestContext.addCallbackParam()
Displaying pop-up dialogs using the Dialog component
Time for action – displaying a dialog
Time for action – client-side callbacks for onShow and onHide
Time for action – the Dialog component close event listener
Time for action – creating dialog with a registration form
Introducing dialog framework
Time for action – showing the search users screen in dialog
Time for action – passing data from the search users dialog to the source page
Introducing the ConfirmDialog component
Time for action – creating a confirmation dialog
Displaying notifications using the NotificationBar component
Time for action – displaying notification messages
Time for action – automatically hiding NotificationBar
Blocking a region using the BlockUI component
Time for action – blocking the form
Understanding PrimeFaces selectors
Time for action – updating UI components using jQuery Selectors
Introducing the search expression framework


K. Siva Prasad Reddy

K. Siva Prasad Reddy is a Senior Software Engineer living in Hyderabad, India, and having more than seven years of experience in developing enterprise applications with Java and JavaEE technologies. Siva is a Sun Certified Java Programmer and has a lot of experience in server-side technologies such as Java, JavaEE, Spring, Hibernate, MyBatis, JSF, PrimeFaces, and WebServices (SOAP/REST). Siva is also the author of Java Persistence with MyBatis 3, Packt Publishing. Siva normally shares the knowledge he has acquired on his blog at If you want to find out more about his work, you can follow him on Twitter (@sivalabs) and GitHub (