Book Image

Mastering JavaServer Faces 2.2

By : Anghel Leonard
Book Image

Mastering JavaServer Faces 2.2

By: Anghel Leonard

Overview of this book

Table of Contents (20 chapters)
Mastering JavaServer Faces 2.2
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
The JSF Life Cycle
Index

Summary


In this chapter, we covered the AJAX support in JSF 2.2 Core. Besides common tasks such as using render, execute, listener, and other attributes, you learned how to use AJAX with JSF 2.2 flow scope, how to use the JSF 2.2 delay attribute, and how to update input fields with AJAX after validation error, using the new JSF 2.2 resetValues attribute and the <f:resetValues> tag. Moreover, you saw how to use postback with AJAX, how to determine if a request is AJAX or non-AJAX, customize jsf.js, how to write a progress bar/indicator, how to create the Cancel/Clear buttons, how to monitor AJAX queue, and so on.

In conclusion, JSF framework (including major extensions, such as PrimeFaces, OmniFaces, RichFaces, ICEfaces, and so on) has the most comprehensive and easy-to-use AJAX capabilities.

See you in the next chapter, where we will cover the JSF 2.2 support for HTML5 and the new upload mechanism.