The <crs:pageContainer> tag is responsible for retrieving the contents of the Search Box cartridge to render the search box that appears in the header portion of each page. To do this, the <crs:pageContainer> tag calls the /atg/endeca/assembler/droplet/InvokeAssembler servlet bean and passes in the full path to the cartridge:

<dsp:droplet name="InvokeAssembler">
  <dsp:param name="contentCollection"
             value="/content/Shared/Global Search Configuration/Search Box"/>
  <dsp:oparam name="output">
    <dsp:getvalueof var="searchBox"
                    vartype="com.endeca.infront.assembler.ContentItem"
                    param="contentItem" />
  </dsp:oparam>
</dsp:droplet>

In response to this code, the Assembler returns a ContentSlot object that contains a SearchBox content item. The <crs:pageContainer> tag uses the <dsp:renderContentItem> tag to locate the SearchBox.jsp renderer and render the SearchBox content item. More details on the SeachBox.jsp page are provided in the next section.

Note: See the ATG-Endeca Integration Guide for detailed information on the <dsp:renderContentItem> tag.


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