How to Use the inputFile Component

10 Using Tables and Trees 10-1 10 Using Tables and Trees This chapter describes how to display tables and trees using the ADF Faces table, tree and treeTable components. If your application uses the Fusion technology stack, then you can use data controls to create tables and trees. For more information see the Creating ADF Databound Tables and Displaying Master-Detail Data chapters of the Oracle Fusion Middleware Fusion Developers Guide for Oracle Application Development Framework This chapter includes the following sections: ■ Section 10.1, Introduction to Tables, Trees, and Tree Tables ■ Section 10.2, Displaying Data in Tables ■ Section 10.3, Adding Hidden Capabilities to a Table ■ Section 10.4, Enabling Filtering in Tables ■ Section 10.5, Displaying Data in Trees ■ Section 10.6, Displaying Data in Tree Tables ■ Section 10.7, Passing a Row as a Value ■ Section 10.8, Displaying Table Menus, Toolbars, and Status Bars ■ Section 10.9, Exporting Data from Table, Tree, or Tree Table ■ Section 10.10, Accessing Selected Values on the Client from Components That Use Stamping

10.1 Introduction to Tables, Trees, and Tree Tables

Structured data can be displayed as tables consisting of rows and columns using the ADF Faces table component. Hierarchical data can be displayed either as tree structures using ADF Faces tree component, or in a table format, using ADF Faces tree table component. Instead of containing a child component for each record to be displayed, and then binding these components to the individual records, table, tree and tree table components are bound to a complete collection, and they then repeatedly render one component for example an outputText component by stamping the value for each record. For example, say a table contains two child column components. Each column displays a single attribute value for the row using an output component and there are four records to be displayed. Instead of binding four sets of two output components to display the data, the table itself is bound to the collection of all four records and simply stamps one set of the output components four times. As each row is stamped, the data for the current row is copied into the var attribute on the table, from which the output component can retrieve the correct values for the row. For more information about how stamping works, especially with client