更新时间:2021-07-21 17:59:50
coverpage
PrimeFaces Beginner's Guide
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files eBooks discount offers and more
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Time for action – heading
Reader feedback
Customer support
Chapter 1. Introduction to PrimeFaces
Introducing the features of PrimeFaces
Installing and configuring PrimeFaces
Time for action – installing and configuring PrimeFaces
Creating a HelloWorld application using PrimeFaces
Time for action – creating a HelloWorld program using PrimeFaces
Creating simple forms using PrimeFaces
Time for action – creating a user registration form
Performing form validations
Time for action – validating the user registration form
Performing client-side validations
Time for action – client-side e-mail validation
Understanding partial page rendering (PPR)
Time for action – partial processing on the user details form
Updating the view using AJAX
Time for action – updating the view using AJAX
Updating the view using AJAX listeners
Time for action – validate the UserName using AJAX listeners
Performing tasks periodically using a poll component
Time for action – using the poll component to display the current time
Time for action – manually start and stop polling
Invoking server-side methods from JavaScript using RemoteCommand
Time for action – validate e-mail using RemoteCommand
Summary
Chapter 2. Introducing Sample Application TechBuzz
Understanding the requirements of the TechBuzz application
Understanding the high-level design of the TechBuzz application
Understanding the TechBuzz data model
Looking at TechBuzz screenshots
Setting up of the development environment for TechBuzz
Time for action – installing the required software
Chapter 3. Using PrimeFaces Common Utility Components
Introducing the Message component
Time for action – displaying FacesMessage using <p:message>
Time for action – displaying FacesMessage with HTML content
Introducing the Messages component
Time for action – displaying FacesMessage using <p:messages>
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
Chapter 4. Introducing the PrimeFaces Client Side Validation Framework
Configuring and using the Client Side Validation framework
Time for action – performing client-side validations
Triggering client-side validations based on events
Supporting I18N for validation messages
Extending the CSV framework with custom JSF validators
Time for action – using the custom JSF validator on the client side
Extending the CSV framework with custom JSF converters
Time for action – using the custom JSF converter on the client side
Using the CSV framework with the Bean Validation API
Time for action – using the CSV framework with the Bean Validation API
Extending the CSV framework with custom Bean Validation annotations
Time for action – using the custom Bean Validation annotation with the CSV framework
Chapter 5. Introducing Text Input Components
Getting text input with the InputText component