PrimeFaces has an impressive number of components that are usually suitable for both common and advanced use cases. It is almost impossible to cover all scenarios in just one book and discuss all solutions for each case. The key aspect of this chapter consists in giving users tips that can be applied quickly for often-raised questions. In this chapter, we will go beyond the basics and introduce more interesting features of the PrimeFaces library. We will learn about RequestContext
, a helpful utility that allows you to mark components as updatable targets at runtime, add AJAX callback parameters; open external pages in dynamically generated dialogs—Dialog Framework—and much more. We will also develop a couple of real-world samples for common tasks such as blocking UI during AJAX calls, controlling form submission, periodic polling, focus handling, menus within the layout units and nested panels, targetable messages, sticky components, cached content, and exception handling.
PrimeFaces Cookbook
PrimeFaces Cookbook
Overview of this book
Table of Contents (20 chapters)
PrimeFaces Cookbook Second Edition
Credits
Foreword
Foreword
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Free Chapter
Getting Started with PrimeFaces
Theming Concepts
Enhanced Inputs and Selects
Grouping Content with Panels
Data Iteration Components
Endless Menu Variations
Working with Files, Images, and Multimedia
Drag Me, Drop Me
Creating Charts and Maps
Client-side Validation
Miscellaneous Advanced Use Cases
Index
Customer Reviews