Дерево страниц
Skip to end of metadata
Go to start of metadata

Вы просматриваете старую версию данной страницы. Смотрите текущую версию.

Сравнить с текущим просмотр истории страницы

« Предыдущий Версия 10 Следующий »

Корневой элемент form:

  • описывает расположение и визуальное отображение полей, кнопок, секций;
  • скрытие, обязательность заполнения и запрет редактирования данных.

Структура
<?xml version='1.0' encoding='UTF-8'?>
<ui xmlns="http://www.intertrust.ru/schema/palette/tn-ui">
    <form id="{id}" schema-ref="{schema name}" showtabs="true" projection="default">
        <properties>
            <hide condition-union="AND">
                <negative-condition-ref ref="{name condition}"/>
            </hide>
            <read-only>
                <condition-ref ref="{name condition}"/>
            </read-only>
            <require>
                <condition-ref ref="{name condition}"/>
            </require>
        </properties>

		<icon code="10"/>

	  	<appearance field-layout="horizontal">
            <label-style width="10" unit="symbol"/>
        </appearance>

		<!--system action -->
	 	<button name="{name}"/>    

        <component>
			<!-- Header -->
			<section id = "Header">
				<component>
      				<field  id = "{id}" name = "{name}"/> 
				</component>
			</section>
			
  			<!-- RootMenu -->
			<section id = "RootMenu">
				<component>
				 	<!--custom action -->
				 	<button name="{name}"/>		
				</component>
			</section >

		 	<!-- Body -->
            <section id = "{id}" name = "{name}">
				<component>
					<field  id = "{id}" name = "{name}"/>
				 	<!--custom button-->
				  	<button name="{name}"/>
					<section id = "{id}" name = "{name}">
						<component>
							<field  id = "{id}" name = "{name}"/>
					 	</component>
					</section>
				</component>
			</section>
        </component>
    </form>
</ui>

attributes

ПараметрыОписание

id

Идентификатор формы. Идентификатор формы должен быть уникальным.

schema-ref

Название схемы

name

Название формы

group

Признак "Группа". Означает, что форма используется для визуальной группировки полей

showtabs

Признак "Секция с закладками"

default

Признак "По умолчанию"

projection

Проекция

tid

Идентификатор, используемый автотестами

properties

apperance

component

rename

icon

Теги и атрибуты:

  • Нет меток