O'Reilly logo

Practical RichFaces, Second Edition by Ilya Shaikovsky, Max Katz

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

C H A P T E R  9

Rich Tree Components

Trees are ideal components to represent hierarchical data. They are one of the most popular complex components in any UI library (probably next to tables). Trees are very useful for building menus, building hierarchical filters, and so on. RichFaces tree components provide everything you need to represent data in a tree-like structure. This chapter will explain the basics and provide advanced examples using RichFaces tree components.

Using <rich:tree>

<rich:tree> is an implementation of a common component designed to display hierarchical data. As any other JSF iteration component, it has to be bound to a model that provides the data for the tree. Figure 9-1 shows the tree component in action.

Figure ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required