A next generation web application component library would not be complete without at least one tree component, and the Trinidad framework is no exception in this case. Trinidad includes a powerful tree component that can be used to model hierarchical data such as a file system or a navigation menu. It also includes a tree table component that can be used to render detailed information about the elements in the tree.
The CoreTree
component is a truly powerful JSF UI component that renders a rich, customizable tree element on the screen. This component includes built-in Ajax support that enables the tree to communicate with the server asynchronously when the user opens and closes tree nodes without any additional configuration. This component is rendered using the<tr:tree>
tag and has a value
attribute that expects a TreeModel
object. In this example, we bind the tree component to a ChildPropertyTreeModel
object, a specialized...