O'Reilly logo

ICEfaces 1.8 by Rainer Eschen

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

Tree

In classic web applications, trees were sometimes used for navigation. In modern web applications that use pulldown menus, trees are primarily used to visualize hierarchical relations of objects. Here is what the ICEcube example is generating. Have a look in the menu at Presentation | Tree:

Tree

The <ice:tree> tag shows a simple text output that describes a hierarchy. The icons are from the current skin and can be set individually. Unfortunately, the nodes cannot be set in the XHTML code, but have to be created via the backing bean.

The tree model in the previous image is inspired by the Swing programming model. This may be a help for a formal ...

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