The store.war/cartridges/HeaderBanner-ATGCategory/HeaderBanner-ATGCategory.jsp
page renders the content in the CategoryHeaderBannerContentItem
object. This renderer retrieves the headerTitle
and headerBannerURL
values from the CategoryHeaderBannerContentItem
object and uses these values to render the display name and background image for the banner. HeaderBanner-ATGCategory.jsp
also retrieves the promotionalContentId
value and passes it to the /atg/commerce/promotional/PromotionalContentLookup
component to render the promotional content item. This component is of class atg.commerce.catalog.custom.CatalogItemLookupDroplet
and it specifies the catalog repository as the repository to be searched and promotionalContent
as the item type to search for.
When a promotional content item that includes a link is clicked, it takes the shopper to the page specified in the promotional content item’s associatedCategory
property. The link for this page must be constructed using an Endeca URL. To satisfy this requirement, the template used to render promotional content items, store.war/promo/gadgets/linkedImage.jsp
, uses the <crs:promotionalContentWrapper.tag>
. This tag calls the /atg/commerce/endeca/cache/DimensionValueCacheDroplet
servlet bean to retrieve the correct URL for the associatedCategory
and then it associates that URL value with the link reference.
Note: See the ATG-Endeca Integration Guide for information about the DimensionValueCacheDroplet
servlet bean and the cache.