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

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

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

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

Статус

В РАБОТЕ

Автор
Комментарий

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

Корневой элемент 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>




<
xs:element name="meta" type="metaUIType" minOccurs="0"/>
<xs:element name="rename" type="renameConditionType" minOccurs="0"/>
<xs:element name="icon" type="iconType" minOccurs="0"/>
<xs:element name="properties" type="propertiesFormType" minOccurs="0"/>
<xs:element name="appearance" type="appearanceFormType" minOccurs="0"/>
<xs:element name="component" type="componentType" minOccurs="0"/>


<xs:attribute name="id" type="xs:string" use="required">
<xs:annotation>
<xs:documentation><![CDATA[Идентификатор]]></xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="schema-ref" type="xs:string" use="required">
<xs:annotation>
<xs:documentation><![CDATA[Схема]]></xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="name" type="com:placeholderType" use="optional">
<xs:annotation>
<xs:documentation><![CDATA[Название]]></xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="group" type="xs:boolean" use="optional" default="false">
<xs:annotation>
<xs:documentation>
<![CDATA[Признак "Группа". Означает, что форма используется для визуальной группировки полей]]></xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="showtabs" type="xs:boolean" use="optional" default="false">
<xs:annotation>
<xs:documentation><![CDATA[Признак "Секция с закладками"]]></xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="default" type="xs:boolean" use="optional" default="false">
<xs:annotation>
<xs:documentation><![CDATA[Признак "По умолчанию"]]></xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="projection" type="xs:string" use="optional" default="default">
<xs:annotation>
<xs:documentation><![CDATA[Проекция]]></xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="tid" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation><![CDATA[tid - идентификатор на форме, используемый WEB-клиентом и автотестами]]></xs:documentation>
</xs:annotation>
</xs:attribute>
  • Нет меток