Raible's Wiki

Raible Designs
Wiki Home
News
Recent Changes

AppFuse

Homepage
  - Korean
  - Chinese
  - Italian
  - Japanese

QuickStart Guide
  - Chinese
  - French
  - German
  - Italian
  - Korean
  - Portuguese
  - Spanish
  - Japanese

User Guide
  - Korean
  - Chinese

Tutorials
  - Chinese
  - German
  - Italian
  - Korean
  - Portuguese
  - Spanish

FAQ
  - Korean

Latest Downloads

Other Applications

Struts Resume
Security Example
Struts Menu

Set your name in
UserPreferences

Edit this page


Referenced by
JSPWikiTags




JSPWiki v2.2.33

[RSS]


Hide Menu

SearchResultIteratorTag


Iterates over a set of search results, with the top scoring result on top.

A "SearchResult" object has the following methods:

  • WikiPage getPage() - Gets the current WikiPage
  • int getScore() - Returns the score. The score is an arbitrary number, which does not necessarily mean anything, except that the best match should always have the highest score.

Usage

Parameters

list
Name of the variable which contains the search results. Must be a Collection or an Iterator with "SearchResult" -class elements.
id
Name of the variable to create containing an individual search result. Will contain a "SearchResult" class object.
maxItems
How many items to iterate over.

Example

Please see "FindContent.jsp"



Go to top   Edit this page   More info...   Attach file...
This page last changed on 06-Nov-2006 13:52:58 MST by unknown.