Use configuration layering to extend the default table configuration. Refer to the Customization Best Practices section before modifying configuration files.

The TableConfiguration class is located in ATG Service Agent classes. The columns are defined in a list. The properties for TableConfiguration are:

Property

Description

columns

List containing all columns in display order.

formHandlerPath

The Nucleus path to the form hander that renders the results.

imageClosed

The file name of the image to render when the table item detail is not visible or is closed.

imageOpen

The file name of the image to render when the table item detail is visible or is open.

imagePath

The URL path to the images.

tablePage

The page fragment containing the table implementation.

tablePath

The Nucleus path to the grid configuration component.

rowsPerPage

The number of items to fetch per server request, usually extracted from the results form handler.

defaultSortField

The default sort column. This field should point to the configured values in the particular column configuration to be sorted. The ViewLink.sortField must match what is defined in indexing output file for the index being searched.

defaultSortDirection

The default sort direction, either ascending or descending. This field should point to the configured values in the particular column configuration to be sorted.

The following is an example of the /DCS-CSR-UI/atg/commerce/custsvc/order/
OrderSearchUIConfiguration.properties
file that uses the TableConfiguration class:

$class=atg.svc.agent.ui.tables.TableConfiguration
$scope=global

columns=\
         /atg/commerce/custsvc/ui/tables/order/search/Toggle,\
         /atg/commerce/custsvc/ui/tables/order/search/ViewLink,\
         /atg/commerce/custsvc/ui/tables/order/search/LastName,\
         /atg/commerce/custsvc/ui/tables/order/search/FirstName,\
         /atg/commerce/custsvc/ui/tables/order/search/Total,\
         /atg/commerce/custsvc/ui/tables/order/search/ItemsReturned,\
         /atg/commerce/custsvc/ui/tables/order/search/DateSubmitted,\
         /atg/commerce/custsvc/ui/tables/order/search/Originator,\
         /atg/commerce/custsvc/ui/tables/order/search/State,\
         /atg/commerce/custsvc/ui/tables/order/search/WorkOn

imageClosed=icon_find.gif
imageOpen=icon_find.gif
imagePath=/images/icons/

rowsPerPage=10

defaultSortField^=/atg/commerce/custsvc/ui/tables/order/search/ViewLink.sortField
defaultSortDirection^=/atg/commerce/custsvc/ui/tables/order/search
    /ViewLink.defaultSort

tablePath=/atg/commerce/custsvc/ui/tables/order/search/OrderSearchResultsTable
tablePage=/atg/commerce/custsvc/ui/tables/order/search/OrderSearchTablePage

Copyright © 1997, 2013 Oracle and/or its affiliates. All rights reserved. Legal Notices