The ProductList component, which maintains the list of Entry objects in its items property, also includes a reference to a TableInfo object in its tableInfo property. The TableInfo component maintains the display information to compare the products in table form, such as the properties to display in the table, the column headings for the table, and the sorting instructions for the table.

Depending on the complexity of your commerce application, you may require multiple instances of ProductComparisonList and TableInfo. In general, however, an application will maintain one instance of ProductComparisonList and one instance of TableInfo for each comparison table desired.

For detailed information on TableInfo, refer to the Implementing Sortable Tables chapter in the ATG Page Developer's Guide. For JSP examples of how to use the ProductList and TableInfo components to manage product comparisons, refer to the Implementing Product Comparison chapter of the ATG Commerce Guide to Setting Up a Store. For an example of using multiple instances of TableInfo to manage a single product comparison table, refer to the Viewing Compare Results section of the Displaying and Accessing the Product Catalog chapter in the ATG Business Commerce Reference Application Guide.


Copyright © 1997, 2012 Oracle and/or its affiliates. All rights reserved.

Legal Notices