This is a specialized lookup control that provides a way to select a value from a list of options.
Context string used to determine the selection list for this component. property displayBinding as
A context string take the form of a URL:
SearchClass is the name of a
%ZEN.Portal.ContextSearchsearch class that contains the search to perform.
SearchName is the name of the search method to invoke within the search class.
You can omit the search class and name and use the context to pick up value from other controls on the current page. In this case the context string should start take the form:
At this time, search class and name are not supported by this control.
Optional. If this control belongs to a form that is associated with a dataController, this specifies the name of the property within the dataController that will provide the display value for this control. property idProperty as
Name of property within data element that supplies the id value. property imageProperty as
Name of property within data element that supplies an image src value. If defined, and the property exists, show the image in the popup instead of the text value. property lookupIcon as
Image to use to invoke lookup popup. property multiSelect as
This flag is not implemented at this time. property noResultsMessage as
Message to show when no results are present. property ongetdata as
onshowPopup event handler: This event is fired just before the popup is displayed. property popupLabel as
Title to display within popup. property propertyList as
List of property values to display in the popup list. This is a csv-list of property names. property separator as
This property is not used at this time. property showFilter as
Specify if there should be a filter text box within the pop up. property size as
Size (width * 10 pixels) of the base (non popup) portion of this control. property styleList as
List of CSS styles to apply to cells within the popup list. This is a csv-list of CSS styles. property text as
Display value for this control. property textProperty as
valuecontains the logical value.
Name of property within data element that supplies the text value.
Return the content for the popup/dropdown. method getProperty(property, key) as
Display the dropdown popup window. spec is an object with any of the following properties:
top - top edge of popup.
left - left edge of popup.
parentDiv - if supplied, use this to place the popup.
value - current logical value.
data - array of data elements to display; can be an array of objects or literal values.
propertyList - if data contains objects, this is a csv-list of properties to display.
styleList - this is a csv-list of styles to apply to the columns in the popup.
idProperty - if data contains objects, this the name of the property supplying the id value.
textProperty - if data contains objects, this the name of the property supplying the display value.
title - title to display in popup.
applyValue - function to call a value is selected within the popup.