The /atg/endeca/clickthrough/droplet/GetSearchClickThroughId servlet bean is typically used in a loop that renders a list of search results. For each result, it adds the item to a cache, and generates a click-through ID to be included in the URL for viewing that item. The click-through ID consists of the search ID and the record ID, separated by a delimiter.

Input Parameter
Output Parameter
Open Parameter
Example

You can use this servlet bean in pages that render a list of search results. For example, the following JSP code creates a hyperlink to a product page and appends the searchClickId query parameter to the URL:

<c:forEach var="record" items="${contentItem.records}" >
  <dsp:droplet name="/atg/endeca/clickthrough/droplet/GetSearchClickThroughId">
   <dsp:param name="record" value="${searchResult}"/>
      <dsp:oparam name="output">
       <dsp:a href="/mystore/browse/productDetail.jsp">
         <dsp:param name="searchClickId" param="${searchClickId}"
       </dsp:a>
      </dsp:oparam>
  </dsp:droplet>
</c:foreach>

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