The atg.projects.store.assembler.cartridge.ProductListCategoryChildrenContentItem class represents the content item that the ProductList-ATGCategoryChildren cartridge returns to the renderer. The ProductListCategoryChildrenContentItem class has three properties:

Note that a ProductListCategoryChildrenContentItem object does not contain the actual child products. It is the JSP renderer’s responsibility to retrieve the correct child products from the catalog repository based on the categoryId returned in the content item.

The /atg/endeca/assembler/cartridge/handler/ProductListCategoryChildren component, which is of class atg.projects.store.assembler.cartridge.handler.ProductListCategoryChildrenHandler, is the cartridge handler responsible for creating and populating the ProductListCategoryChildrenContentItem object. The ProductListCategoryChildrenHandler class is an extension of the com.endeca.infront.cartridge.NavigationCartridgeHandler class with an overridden process() method. The process() method retrieves the current navigation state from the /atg/endeca/assembler/cartridge/manager/NavigationState component and creates a new ProductListCategoryChildrenContentItem object. A call to the ProductListcategoryChildrenHandler.loadCategoryDetails() method populates the ProductListCategoryChildrenContentItem object with data from the catalog repository and returns it to the JSP renderer.

To do its tasks, the ProductListCategoryChildren component has two configurable properties:

The ProductListCategoryChildren component also inherits a number of properties from the /atg/endeca/assembler/cartridge/handler/NavigationCartridgeHandler component, through a $basedOn property configuration. Specifically, ProductListCategoryChildren inherits a reference to the /atg/endeca/assembler/cartridge/manager/NavigationState component that provides information on the shopper’s current navigation state.


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