Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
This chapter covered one of the most important components in RichFaces: tree. Although also considered one of the most difficult to use (in any framework), RichFaces provides a number of features that make working with trees rather simple, but at the same time flexible and powerful.
RichFaces allows you to build and display a tree structure based on an existing Swing model, but also allows you to build custom models. We have also shown you how to expand and collapse nodes and invoke server-side listeners when a node is selected. Finally, we covered how to take a list structure and present it in a tree structure using the powerful RichFaces tree adaptors.