Creating a list view is a three-step process:
Create a component of class
FilterableBrowseListViewConfiguration
as described as follows.Add the view to the task configuration file so that it is visible to users. Be sure to map the view name in a resource bundle to a key that you use in the task configuration file. If you skip this step, the view will not display in the Browse tab Show drop-down list. See Changing UI Labels for instructions.
Customize the list as necessary. For example, you can provide a custom style to the nodes in the Navigation pane.
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 |
---|---|
| 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. |
| 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. |
| 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. |
| Holds the query used to locate items to display in the list. A query for |
| Holds the name and path of the repository that contains the manufacturer item descriptor. |