The /atg/registry/CollectionFilters/ProductFilter component, which is a component of class atg.service.collections.filter.ChainedFilter, is used to create a chain of collection filters that apply their conditions to a collection of products. For details on the ChainedFilter class, see the Filtering Collections chapter of the ATG Personalization Programming Guide.

ProductFilter passes the products to each filter defined in the ProductFilter.filters property successively and produces a final collection that satisfies the conditions specified by each collection filter. By default ProductFilter.filters is set to StartEndDateFilter and InventoryFilter.

You can access the ProductFilter component on a JSP using the ProductFilterDroplet servlet bean. When you ProductFilterDroplet, the resultant content is cached by default (cacheEnabled is set to true). For more information on caching, see the Filtering Collections chapter of ATG Personalization Programming Guide.

loading table of contents...