O'Reilly logo

JSF 1.2 Components by Ian Hlavats

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

Working with trees

In desktop software applications, trees represent a convenient and intuitive type of control that users can interact with to perform a variety of tasks, such as navigating a file system, managing operating system users and groups, browsing threaded messages on an Internet newsgroup, exploring an XML document, and working with other types of hierarchically structured data.

The Tomahawk component library includes a number of components that can be used to implement tree controls for our JSF applications. Let's look at some examples of how we can integrate a tree component with our file management example to enable users to browse the files that they've uploaded to our web application.

Creating a tree

In this example, the<t:tree> ...

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