searchresultiteratortag.txt
来自「wiki建站资源 java编写的 很好用」· 文本 代码 · 共 24 行
TXT
24 行
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
<wiki:SearchResultIterator list="<list variable name>" id="<iterator variable name>" maxItems="<integer>">
!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"''
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?