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 reduces the list contents to the items that begin with the letters you enter in a textbox only. For instructions on creating Nucleus components in the ACC, see Appendix C: Managing Nucleus Components in the ATG Page Developer’s Guide.

For the purpose of this instruction, assume that you are creating a view that lists manufacturers. You might name the component Manufacturer View Configuration to keep it consistent with similar components. Set the following properties on 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. Note that you can include the item descriptor name only, but you’re encouraged to specify the full path to safeguard against 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. Conversely, a lower number lets users view all items without scrolling, but will generate more overflow pages. You navigate to overflow pages using automatically generated links at the bottom of the Navigation pane.

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.

Note: You can also configure lists by providing a custom style to the nodes in the Navigation pane. You may want, for example, to provide on font for folders and another for manufacturers. The instructions provided in Customizing the Node Style apply for list as well as tree views.

 
loading table of contents...