The <reference> tag adds a reference field to a widget for widgets, establishing connections with to data tables by via a custom reference.
The following attributes are applicable:
Attribute | Type | Mandatory | Description |
---|
canCreate | Boolean | N | Set the attribute equal to 'true' to add the button Image Added for creating a new record. The default value is 'false'. |
canRead | Boolean | N | If you set the attribute equal to 'false', the referred dictionary will not be available. The default value is 'true'. |
class | String | N |
This attribute allows defining CSS styles classes description and specifyingSpecify the CSS class name defined in the CSS field. |
condition | String | N | Specify a condition query. Note |
---|
This attribute takes a decoded condition as a value. To decode a query condition, use server methods as recommended. |
|
isFixed | Boolean | N |
When is equal , then so the condition value cannot be changed. |
isMandatory | Boolean | N |
This attribute allows setting a mandatory status to Make the field mandatory. For this, set |
it the attribute equal to 'true'. |
isVisible | Boolean | N |
If this Disable the widget displaying. This attribute is equal to 'true' |
(), then the widget is displayed; otherwise, it is not displayedA Describe the field content by giving a field label with text information |
generally describes the field contentThis points controller controller data object. When the model data changes, it is automatically transferred to the data of the client script. |
readOnly | Boolean | N |
This attribute allows setting a status to the field it the attribute equal to 'true'. |
style | String | N |
This attribute specifies value | String | N | Specifies the default value for the fieldSpecify the display settings (size, font, color, etc.) of the widget elements using the CSS syntax. |
tableName | String | Y |
Connection with a table by its name. | Specify the name of the table to which this tag will be bound. |
Code Block |
---|
language | xml |
---|
title | reference |
---|
linenumbers | true |
---|
|
<reference label="Configuration Item" model="data.element" tableName="cmdb" isMandatory="true" condition="{data.condition}"></reference> |
...