DropBreadcrumbs.jhtml
Drop Breadcrumbs, this section updates the CatalogNavHistoryCollector with
the parameters from the calling page. In effect telling the collector where we
are. The params we set in the URL link as params in the anchor tag.
<!-- Title: Drop Breadcrumbs Page -->
<DECLAREPARAM NAME="categoryObj" CLASS="atg.repository.RepositoryItem" DESCRIPTION="">
<JAVA>
/*
Update the CatalogNavHistory component with our current location. We will
use the category, navAction and navCount parameters passed to the page that
embeds this fragment in conjunction with the CatalogNavHistoryCollector
component to update the internal state of the CatalogNavHistory component.
NOTE: If the back button was detected, the CatalogNavHistory component doesn't
just pop the breadcrumbs for the pages backed over, it actually clears the
stack and generates a new one to the current page using the default parent
property of the catalog.
*/
</JAVA>
<droplet bean="/atg/commerce/catalog/CatalogNavHistoryCollector">
<param name="item" value="param:categoryObj">
<param name="navAction" value="param:navAction">
<param name="navCount" value="param:navCount">
</droplet>
|