Universal Picker Portlet
Portlet Title | Universal Picker |
Portlet Name | wm_universalpicker |
Portlet File Name | wm_universalpicker.pdp |
Top-level Folder | system |
JSR168 Portlet? | No |
Alias | portlet.universalpicker |
Default Instances of the portlet | None |
System. Portlet developers use this portlet to display a picker list of My webMethods Server items from which an end user can select one or more of the items.
Typically, this portlet is used only as a property editor for the properties of another legacy portlet. For new webMethods CAF portlets, the Portal Resource Picker Dialog control provides this same ability.
Properties
Multi-Select (multiple)
Indicates whether the picker allows an end user to select multiple entries. Specify one of the following:
true – Default. End users can select multiple entries.
false – End users can select only a single entry.
Type (type)
Identifies types of resources that an end user can select with the picker. Specify one or more of the following:
all (default)
portlet folder link user group role any portlet name
any DBO type name
Use a comma-separated list to specify more than one type.
Default Roots (defaultRoot)
Identifies the default set of roots (container IDs that appear as root folders) in the My webMethods Server taxonomy to display. Specify a comma-separated list of thingIDs or aliases to identify the roots. The default value is folder.root,folder.public,user.current.home, which means that the default set of roots under which the user can browse for items to select is the My webMethods Server root folder (named Folders), the public folder (named Public Folders), and the current user's home folder (named My Folders).
Roots (roots)
Identifies the set of roots (container IDs that appear as root folders) in the My webMethods Server taxonomy to display. Specify a comma-separated list of thingIDs or aliases to identify the roots. If the property has no value, the portlet uses the value of the Default Roots (defaultRoot) property.
Default Selected (selected)
Identifies the entries that should be initially selected. Specify a comma-separated list of thingIDs or aliases to identify the set of selected entries. If the property has no value, no entries will be initially selected.
Selectable Script (selectable)
Defines how to determine whether an entry is selectable. Specify a JavaScript expression that the portlet evaluates to determine whether to allow the end user to select an entry. By default, end users can select all entries.
Unselectable Script (unselectable)
Defines how to determine whether an entry can be deselected. Specify a JavaScript expression that the portlet evaluates to determine whether to allow the end user to deselect an entry. By default, end users can deselect all entries.