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>

Parameters#

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>&nbsp;
        <%=searchref.getScore()%>
    </wiki:SearchResultIterator>

    <wiki:IfNoSearchResults>
         <b>No results</b>
    </wiki:IfNoSearchResults>
</wiki:SearchResults>

Add new attachment

Only authorized users are allowed to upload new attachments.
« This page (revision-) was last changed on 19-Jul-2006 09:36 by UnknownAuthor