| <?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 immediate children of a Table component must all be <tr:column> components. Each visible Trinidad Column component creates a separate column in the Table. "/> |
| |
| <br/> |
| |
| The child components of each Column display the data for each row in that column. |
| The Column does not create child components per row; instead, each child is repeatedly rendered (stamped) once |
| per row. Because of this stamping behavior, only certain types of components are supported as children inside a |
| Column. Supported components include all components with no behavior and most components that implement the |
| EditableValueHolder or ActionSource interfaces. |
| |
| <tr:spacer height="12px"/> |
| |
| <tr:outputText value="As each row is stamped, the data for the current row ( see getRowData() on the Table) is |
| copied into an EL reachable property. The name of this property is defined by the var property on the Table. |
| Once the Table has completed rendering, this property is removed (or reverted back to its previous value). |
| In the following example, the data for each row is placed under the EL property "row". "/> |
| |
| </ui:composition> |