A modal dialog that enables the user to select one or more resources, such as folders, pages, and portlets.
This control is not portable to third-party portals. You can use it only in portlets published to instances of My webMethods Server.
The selected resources are referenced by the control's targetValue
property. For a single-select picker, you can bind the targetValue
property to the following data types:
com.webmethods.caf.faces.data.portal.PortalItemModel
- A model object representing the My webMethods Server resource.com.webmethods.portal.system.IURI
- The My webMethods Server ID of the resource.java.lang.String
- Provides a string representation of the My webMethods Server ID of the resource.For a multi-select picker, you can bind the targetValue
attribute to a list or array of the above types.
Like other hideable controls, you can switch this control between visible and hidden through the use of client-side JavaScript code. Toggle controls encapsulate this code within controls that you can create and configure visually within CAF. For more information, see the topics "Hideable Controls" and "Toggle Controls" in the section "User Interface Controls Concepts" in the webMethods CAF Development Help.
Info | Value |
---|---|
Component Type | com.webmethods.caf.faces.panel.PortalResourcePickerModalDialog |
Handler Class | com.webmethods.caf.faces.component.respicker.ResourcePickerModalDialogHandler |
Renderer Type | com.webmethods.caf.faces.panel.ModalDialog |
Description | Dialog for Picking Portal Resource(s) |
Palette Location | MWS Html/Control/Dialog/Portal Resource(s) Picker Dialog |
Client-Side Model | CAF.Dialog.Modal.Model |
Name | Required | Type | Description |
---|---|---|---|
applyButtonActionExpression | false | javax.el.MethodExpression
(signature must match java.lang.String action() )
| Apply Button action method expression |
id | false | java.lang.String | Control identifier |
isMoveable | false | javax.el.ValueExpression
(must evaluate to boolean )
| Whether this Dialog can be moved by the user |
lazy | false | javax.el.ValueExpression
(must evaluate to boolean )
|
True if panel loads content asynchronously on demand
If not specified, the default value is "false". |
multipleSelectionsAllowed | false | javax.el.ValueExpression
(must evaluate to boolean )
|
Allow Multiple Selections
If not specified, the default value is "true". |
progressDelay | false | javax.el.ValueExpression
(must evaluate to java.lang.Integer )
|
Milliseconds to wait before showing progress dialog
If not specified, the default value is "0". |
progressFlashOnComplete | false | javax.el.ValueExpression
(must evaluate to boolean )
|
True if panel should flash when asynchronous loading has completed
If not specified, the default value is "true". |
progressMsg | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
| Progress dialog message; defaults to a localized message, in English "Loading..." |
progressUseHideShowEffect | false | javax.el.ValueExpression
(must evaluate to boolean )
|
True if progress dialog should use panel's hide and show effects; false if progress dialog shouldn't use default effects
If not specified, the default value is "false". |
refreshOnApply | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
| Id of control to refresh (defaults to entire form) |
refreshOnShow | false | javax.el.ValueExpression
(must evaluate to boolean )
|
True to refresh content every time panel is toggled visible. Ignored if Lazy Load is false.
If not specified, the default value is "false". |
rendered | false | javax.el.ValueExpression
(must evaluate to boolean )
|
True to render control; false to ignore it
If not specified, the default value is "true". |
rootURI | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
|
Root Container to pick resource(s) from
If not specified, the default value is "folder.root". Valid values are:
|
suppressInputs | false | javax.el.ValueExpression
(must evaluate to java.util.Collection )
|
WARNING: This property has been deprecated. Ids of controls on which to disallow update processing while handling asynchronous requestsIf not specified, the default value is "false". |
targetValue | true | javax.el.ValueExpression
(must evaluate to javax.faces.el.ValueBinding )
| ValueBinding expression for where to copy the selected resource models when the modal dialog is applied. |
twoPass | false | javax.el.ValueExpression
(must evaluate to boolean )
|
Render initial content asynchronously. Ignored if Lazy Load is false.
If not specified, the default value is "false". |
Output generated by Vdldoc View Declaration Language Documentation Generator.