Now that we’ve discussed the particulars of both implementing and encapsulating Ajax with JSF, let’s turn our attention to a framework that takes care of a great deal of those details for you: Ajax4jsf.

Ajax4jsf is a java.net project, whose home page—https://ajax4jsf.dev.java.net/ajax/ajax-jsf—is shown in Figure 10. Ajax4jsf provides 18 handy JSP tags that you can use to seamlessly integrate Ajax into your JSF applications. You can find a list of all the tags and their corresponding descriptions at the Ajax4jsf home page. In our brief exploration of Ajax4jsf, we will discuss two of those tags: a4j:support, which lets you attach Ajax functionality to a component, typically an input component, and a4j:status, which renders JSF components ...

Get AJAX and JavaServer™ Faces 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.