Chapter 4. More a4j: Tags, Concepts, and Features

The previous chapter covered some of the most important concepts behind RichFaces. After reading the chapter, you should be able to use pretty much any RichFaces component. This chapter will cover more a4j: tags and some advanced concepts and features that you might need as you develop your applications.

Controlling Traffic with Queues

Let's review the following example:

<h:inputText value="#{shoppingCart.state}">
    <a4j:support event="onkeyup" reRender="county" />

Because a new request is sent on each keystroke, it's possible to start typing really fast and flood the server with requests. That's obviously something you want to know how to avoid.

Two attributes can help you with that: ...

Get Practical RichFaces now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.