Oracle® Universal Content Management 10g Release 4 (10.1.4) |
Contents |
Index |
Previous |
Next |
Site Studio Designer Guide > Sample Fragments > Navigation Fragments > ASP Search Result Plain
Adds a search results area to the page template. This fragment is designed for use with the ASP Search Box Plain fragment. It takes a url parameter "ssUserText" supplied by the search box. It combines that value with a restricting clause supplied as a parameter to this fragment. It executes the search and displays a batch of results with a "more…" button if needed.
Parameters
ssTextColor: Changes the color of the text.
ssHoverColor: Changes the color of the mouseover text.
ssClassName: Specifies a CSS class name.
ssQueryText: This is used as a query restriction clause. It is combined with the ssUserText value received from the search box. If both components of the query are specified, the final query becomes: "(ssQueryText) AND (ssUserText)".
If combined also with ssLimitScope, the query becomes:
"(ssQueryText) AND (ssUserText) AND (ssLimitScope)"
If any component is blank/false, it is excluded from assembly.
ssLimitScope: Limits the scope of a search to within a Web site.
ssSortField: The name of the metadata field to sort the results. The default is "dInDate".
ssSortOrder: The order to sort the results. Default is "desc".
ssResultCount: The number of results to show per page. The default is 25.
ssDisplayField: The name of the metadata field to be used to form the "label" of the link in the result.
ssTargetNodeID: Forces the target of a link so the contents display at a particular node, in the replaceable region of a secondary page. This is typically used for sharing content, where you include the same content item in multiple Web sites.
Special Instruction
This fragment should be added to a section in your site hierarchy that is not included in your site navigation. It creates a placeholder page for the search results.
This fragment is designed for ASP pages.