IDE: app.objectLink.Field
Field component for selecting a linked object
Settings:
- controllerUrl - a string representing the controller responsible for providing data on the list of available objects to link and displaying the object title (it must contain such methods as linkedlistAction, otitleAction)
- objectName - a string representing the name of the linked object (e.g. News, Page, Articles etc.)
- value - a number representing the linked object identifier
- name - a string representing the field name of the form
- fieldLabel - a string representing the field label
Basic methods:
- showSelectionWindow() - displaying the linked object selection window
- getValue() - getting the value
- setValue(value) - setting the value
- reset() - resetting the value