Oracle® Fusion Middleware Idoc Script Reference Guide 11g Release 1 (11.1.1) E10726-01 |
|
Previous |
Next |
Home > Idoc Script Reference Guide > Core Content Server Variabl... > OneMatch
Checks if only one match was found from a search query.
Generally used to display a message on the search results page.
Type and Usage
Output
Returns TRUE if only one match was found.
Returns FALSE if no matches or more than one match were found.
Example
Displays text if only one match was found from a query:
<$if OneMatch$> <p><font face="arial" size="2"> Found <$TotalRows$> document matching the query.</p> <$endif$>