| Includes the body if a search has been performed. This tag will also include the body in case there were no hits. You can use the IfNoSearchResults Tag to check the number of hits. Usage
<wiki:SearchResults> HTML or JSP tags </wiki:SearchResults> None. Example
<wiki:SearchResults>
<h4>Search Results</h4>
<p>
<i>Found <wiki:SearchResultsSize/> hits, here are the top 20.</i>
</p>
<wiki:SearchResultIterator id="searchref" maxItems="20">
<wiki:LinkTo><wiki:PageName/></wiki:LinkTo>
<%=searchref.getScore()%>
</wiki:SearchResultIterator>
<wiki:IfNoSearchResults>
<b>No results</b>
</wiki:IfNoSearchResults>
</wiki:SearchResults>
|