On a JSP page, you can use the /atg/commerce/endeca/cache/DimensionValueCacheDroplet component (of class atg.commerce.endeca.cache.DimensionValueCacheDroplet) to obtain the dimension value associated with a specific category. This servlet bean takes the following input parameters:

DimensionValueCacheDroplet returns the DimensionValueCacheObject entry that matches these parameters. For example:

<dsp:droplet name="DimensionValueCacheDroplet">
  <dsp:param name="repositoryId" value="${categoryId}"/>
  <dsp:param name="ancestors" value="${topLevelCategoryId}"/>
  <dsp:oparam name="output">
    <dsp:getvalueof var="categoryCacheEntry" param="dimensionValueCacheEntry" />
  </dsp:oparam>
</dsp:droplet>

The url property of the DimensionValueCacheObject can be used to render a link to an Assembler-driven category page. For example:

<dsp:a page="${categoryCacheEntry.url}">
  <dsp:valueof value="${categoryDisplayName}">
    <fmt:message key="common.categoryNameDefault" />
  </dsp:valueof>
</dsp:a>

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