Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Тэг <conditions> предназначен для добавления виджета конструктора условий. 


АтрибутТипОбязательныйОписание

The <conditions> tag adds the condition builder widget.

Available attributes:

Specify the default value for the field.
AttributeTypeMandatoryDescription
classStringNНетУкажите название класса CSS, заданное в поле CSSSpecify the CSS class name defined in the CSS field.
modelStringYДаУкажите значение этого атрибута, чтобы указать на объект данных контроллера клиента. При изменении данных в модели, они автоматически переносятся в клиентский скрипт.  Specify this attribute to point to the client controller data object. When the model data changes, it is automatically transferred to the data of the client script.
isMandatoryBooleanNНетУстановите значение атрибутаTo make the field mandatory, set the attribute equal to 'true', чтобы сделать поле обязательным.  
isVisibleBooleanNНетЗначение по умолчанию значениеThis attribute is equal to 'true' by default. To disable the widget displaying, set the. Чтобы отключить виджет, установите значение 'false' value.
labelStringNНетОпишите содержание поля, добавив заголовок поляDescribe the field content by giving a field label with text information.

readOnly

BooleanNНет

Чтобы сделать поле доступным только для чтения, установите значение атрибута какTo make the field read-only, set the attribute equal to 'true'.

styleStringNНет

Настройте вид элементов виджета (размер, шрифт, цвет, и др.), используя синтаксис CSSSpecify the display settings (size, font, color, etc.) of the widget elements using the CSS syntax.

tableIdBig IntegerNНет

Specify the ID of the table to which this tag is boundУкажите ID таблицы, к которой привязан тэг.

tableNameStringYДаУкажите название таблицы, к которой привязан этот тэг. Specify the name of the table to which this tag is bound.

value

StringNНет

Укажите значение поля по умолчанию.


Пример:

Code Block
languagexml
titleConditions
linenumberstrue
<conditions model="data.condition" tableName="itsm_incident" tableId="155964310500000569"></conditions>

...