To enable advanced searches, you set the following form handler properties:

In order to configure a component for advanced searches, set the following properties:

Required Advanced Search Properties

Property

Description

doAdvancedSearch

If set to true, enables advanced searching.

advancedSearchPropertyRanges

Property range used to narrow search results by integer values. The specified range is inclusive and uses this format:

item-type.property-name.max
item-type.property-name.min

You can leave the search range open at either end by leaving the maximum or minimum value undefined.

Optional Advanced Search Properties

Property

Description

advancedSearchPropertyRanges

Property range used to narrow search results by integer values. The specified range is inclusive and uses this format:

item-type.property-name.max
item-type.property-name.min

You can leave the search range open at either end by leaving the maximum or minimum value undefined.

advancedSearchPropertyValues

List of property values used in the search query. The format should appear as follows:

item-type.property-name=value

clearQueryURL

The URL of the page to display when the handleClearQuery() method is invoked. The specified page should have search tools. If this property is empty, handleClearQuery() returns control to the current page. See Clearing Search Query Data for more information.

displayName

The name displayed for an item type when it is used as search criteria. Each item type has a default display name; this property overwrites the default.

propertyValuesByType

Holds the properties in advancedSearchPropertyNames and their values in a HashMap key/value relationship. This only applies to those properties in advancedSearchPropertyNames that are enumerated, RepositoryItems, or collection of RepositoryItems.

When the key is the name of a property, the value is a collection of possible values.

When the key is a repositoryId, the value is a collection of values for a specific property.

When the key is a collection of repositoryIds, the value is repositoryIds.

The format should appear as follows:

item-type.property-name


Copyright © 1997, 2012 Oracle and/or its affiliates. All rights reserved.

Legal Notices