Chapter 2, “Templating with Facelets,” discussed Facelets, which is the default view definition language in JSF 2.0. This chapter discusses another new feature in JSF 2.0: support for Ajax in UI components.
JSF 2.0 has introduced a provision for adding Ajax functionality to any JSF component. Ajax provides asynchronous transfer of data between a client and a server. Ajax features in JSF 2.0 include support for partial page rendering, partial page processing, and grouping of components. You can add support of Ajax in JSF 2.0 by using the
f:ajax tag. In this chapter, you will add Ajax support to a JSF 2.0 data table.
As a first step, if you haven’t done so already, download and install the following software: ...