Buslookup |
Adds look-up information to an element.
Syntax
HTML |
<IMG id=imgID class="BusLookup"> |
Scripting |
imgID.className="BusLookup" ; application.initializeHTMLElements(imgID); |
The component can also be attached to the IMG tag by setting the library property of the style attribute.
This library helps to zoom in to the related application and fetch the relatedColumn and extraColumn. The control is attached to an image beside the HTML lookup element, for example, beside the input tag.
To dynamically add and initialize this component, you can use the initializeHTMLElements() or addType() methods of the Application object.
The properties defined for this component are as follows:
Table 1. List of Attributes
Attribute/Property |
Description |
---|---|
Object that denotes the application Definition for the lookup page. |
|
Pointer to a function that is to be called after the lookup page is loaded. |
|
Object that can be passed as an input parameter for the lookup page. |
|
String that specifies the element name in the XSD or the property of a Business Object that can be brought along with the related column. |
|
String that denotes the field value which is used as a look up field. |
|
src |
Optional. String that denotes the url of the image that describes the lookup image. By default, this is /cordys/wcp/images/wizard/lookup.gif. |