The NavSearch
component is rendered by the navSearch.jsp
file to provide a link to a search page. The navSearch.jsp
page renders a <div>
tab containing the navSearch
ID, as well as the icon and tooltip. For example:
<dspel:getvalueof var="navSearch" param="navSearch"/> <%-- Embed the JavaScript function call and tooltip into the search component --%> <a href="#" onclick="<c:out value="${navSearch.javaScriptFunctionCall}"/>" class="gcn_btn_search" title="<c:out value="${navSearch.toolTipText}"/>"><span><c:out value="${navSearch.toolTipText}"/></span></a>