Creating a list view is a three-step process:

Filterable Browse List View Configuration Component

To organize your items in a list, create a component of class atg.web.assetmanager.configuration.FilterableBrowseListViewConfiguration and save it to the /atg/web/assetmanager/configuration directory. This class creates the list structure used by your view and implements a filtering tool that restricts the contents to items that begin with the letters you type in a text field. For instructions on creating Nucleus components in the ACC, see Appendix C: Managing Nucleus Components in the ATG Page Developer’s Guide.

This section uses a view that lists manufacturers as an example. Set the following properties in this component:

Property

Description

assetTypeName=manufacturer

Holds the type of items displayed in the list. Although a list displays one item type only, it will also display that item’s subtypes. Provide the name defined for the item type in the item descriptor.

createableTypesList=/atg/commerce/catalog
/SecureProductCatalog:manufacturer

Holds the type of items you can create in the view. Provide the name defined for the item type in the item descriptor. Specify the full path to prevent naming conflicts.

itemsPerPage=50

Holds the number of items that are visible in a page. A higher number reduces the number of overflow pages, but may require users to use the scroll bar in order to view all items on a given page. A lower number lets users view all items without scrolling but generates more overflow pages.

queryRQL=ALL

Holds the query used to locate items to display in the list. A query for ALL indicates that all items of type manufacturer are returned. For a list of other queries and operators, see the Repository Query Language section of the Repository Queries chapter of the ATG Repository Guide.

repositoryPath=/atg/commerce/catalog
/SecureProductCatalog:manufacturer

Holds the name and path of the repository that contains the manufacturer item descriptor.


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