CAF Application Runtime Configuration—Search Bar Portlet
Portlet Title | Search Bar |
Portlet Name | wm_caf_app_runtime_config___searchbar |
Portlet File Name | wm_caf_app_runtime_config.war |
Top-level Folder | admin |
JSR168 Portlet? | Yes |
Alias | /portlet/wm_caf_app_runtime_config___searchbar |
Default Instances of the portlet | Folders > Administrative Folders > Administration Dashboard > Configuration > CAF Application Runtime Configuration |
Configuration. Administrators use this portlet to search for CAF applications that are deployed to the current My webMethods Server instance. After locating a CAF application, the administrator can configure the run-time settings of the CAF application.
In the My webMethods Server user interface, the CAF Application Runtime Configuration page contains both the Search Bar and Search Result portlets. The Search Bar portlet matches the value an administrator supplies in the search keyword field against CAF application names to find records to display in the search results. To display the results in the Search Result portlet, the Search Bar portlet's Last Search State (lastSearchState) property is wired to the Search Query (queryString) property of the Search Result portlet.
Properties
Initial Search Tab (initialSearchTab)
Identifies the initial tab to display. Specify one of the following:
simpleSearch – Default. Display the portlet with the
Keyword tab open.
savedSearches – Display the portlet with the
Saved tab open.
savedSearches/details – Display the portlet with the
Saved tab open and the saved search details expanded.
Initial Selected Saved Search (initialSelectedSavedSearch)
Identifies the saved search to load when initially displaying the portlet. Specify the name of any saved search that is associated with the portlet instance. If the property has no value, the portlet does not pre-load a saved search.
Run Search On Display (runSearchOnDisplay)
Indicates whether you want the portlet to automatically execute a saved search when it initially displays. Specify one of the following values:
true – Execute the saved search identified by the Initial Selected Saved Search (initialSelectedSavedSearch) property. This simulates the user clicking
Go in the Search Bar control.
false – Default. Do not execute the saved search.
No Max Results (noMaxResults)
Indicates whether you want to limit the number of the search results to display. Specify one of the following values:
true – Do not limit the search results; that is, display all the results.
false – Default. Limit the search results to the number specified by the Max Results (maxResults) property.
Max Results (maxResults)
Defines the maximum number of search results to display. Specify a positive whole number. The default is 200.
Note:
If the No Max Results (noMaxResults) property is set to true, this property is ignored.
Last Search State (lastSearchState)
Facilitates passing the search query value to the Search Result portlet when a user clicks Go in the Search Bar control. When a user clicks Go, the portlet serializes and converts the active search query object to a base64-encoded string, which is then set as the value of this property. If the property has no value, the portlet behaves as if there is no active search.
Use the My webMethods Server portlet wiring capability to wire the Search Query (queryString) property of the Search Result portlet to this property.
Saved Searches Map (savedSearchMap)
Holds all the private saved searches for the current user. When a user creates and saves a new search, to save the search the portlet adds the search to this property. If the property has no value, no saved searches are available.