Chapter 10. Miscellaneous, Advanced Use Cases

In this chapter we will cover:

  • The power of the PrimeFaces selectors
  • Programmatic updating and scrolling with RequestContext
  • Two ways to trigger JavaScript execution
  • Adding AJAX callback parameters – validation within a dialog
  • Navigating to another page in AJAX calls
  • Polling – sending periodical AJAX requests
  • Blocking page pieces during long-running AJAX calls
  • Remembering the current menu selection
  • Controlling form submission by DefaultCommand
  • Clever focus management in forms
  • Layout pitfalls with menus and dialogs
  • Targetable messages with severity levels
  • Leveraging Schedule's lazy loading feature

Introduction

PrimeFaces has an impressive number of components that are usually suitable for all common and advanced ...

Get PrimeFaces Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.