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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access