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" /> </h:inputText>
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 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.