Корневой элемент form->component. Элемент button. Пространство имен: <ui xmlns="http://www.intertrust.ru/schema/palette/tn-ui"> |
|
<?xml version='1.0' encoding='UTF-8'?> <ui xmlns="http://www.intertrust.ru/schema/palette/tn-ui"> <form id="{id}" name="{name}" schema-ref="{schema name}" projection="default"> <properties> <hide condition-union="AND"> <negative-condition-ref ref="table"/> </hide> </properties> <appearance field-layout="horizontal" style="tunTableWithBorders"/> <component> <section name="{column name 1}" id="{id}"> <component> <field attribute-ref="{property schema name}"/> </component> </section> <section name="{column name 2}" id="{id}"> <component> <field attribute-ref="{property schema name}"/> </component> </section> <section name="{column name 3}" id="{id}"> <component> <field attribute-ref="{property schema name}"/> </component> </section> <!-- Кнопка "Добавить" --> <button name="{name}"> <properties> <hide condition-union="AND"> <negative-condition-ref ref="table_edit"/> </hide> </properties> <appearance align="right"> <label-style> <style id="tunIconAdd" /> <style id="tunUnderline" /> <style id="tunClickableRed" /> </label-style> </appearance> <action> <system name="add" /> </action> </button> <!-- Кнопка "Удалить" --> <button> <properties> <hide> <condition-ref ref="table_read"/> </hide> </properties> <appearance align="right"> <label-style unit="symbol" width="2"> <style id="tunIconDelete" /> </label-style> </appearance> <action> <system name="delete"/> </action> </button> <!-- Кнопка "Редактировать" --> <button> <properties> <hide> <condition-ref ref="table_read"/> </hide> </properties> <appearance align="right"> <label-style unit="symbol" width="2"> <style id="tunIconEdit"/> </label-style> </appearance> <action> <system name="update" /> </action> </button> </component> </form> </ui> |
Параметры | Описание |
---|---|
add | Добавить запись Подключается вместе со стилем tunIconAdd |
delete | Удалить запись Подключается вместе со стилем tunIconDelete |
update | Редактировать запись Подключается вместе со стилем tunIconEdit |
up | Переместить запись вверх. э Подключается вместе со стилем tunIconUp |
down | Переместить запись вниз Подключается вместе со стилем tunIconDown |
|
Теги и атрибуты: |