| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you under the Apache License, Version 2.0 (the |
| "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, |
| software distributed under the License is distributed on an |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| KIND, either express or implied. See the License for the |
| specific language governing permissions and limitations |
| under the License. |
| --> |
| |
| <ui:composition xmlns="http://www.w3.org/1999/xhtml" |
| xmlns:ui="http://java.sun.com/jsf/facelets" |
| xmlns:tr="http://myfaces.apache.org/trinidad"> |
| |
| The Trinidad TreeTable is used to display data that is structured in a hierarchical format. |
| This component displays a hierarchy in a UI similar to an Trinidad Table, and is more elaborate than the Tree |
| component. TreeTable supports displaying columns of data per element in the hierarchy. Unlike the Tree component, |
| TreeTable only supports single rooted hierarchies. The features of the TreeTable component include mechanisms |
| for focusing in on subtrees (within the main tree), as well as expanding and collapsing elements in the hierarchy. |
| |
| <br/> |
| |
| Like the Table, the TreeTable's children must be Trinidad Column components. Like the Tree, |
| the TreeTable has a "nodeStamp" facet which renders the "Object Name" Column. The |
| "Object Name" Column contains the primary identifier of an element in the hierarchy. For example, |
| in an organization chart of employees, the "Object Name" Column might be the employee name. |
| |
| </ui:composition> |