Дерево страниц

Сравнение версий

Ключ

  • Эта строка добавлена.
  • Эта строка удалена.
  • Изменено форматирование.
Информация
iconfalse

Для системных кнопок корневой элемент formcomponent→button. 
Для кастомных кнопок  formcomponentsectioncomponent→button. 
Параметр button properties. Пространство имен: <ui xmlns="http://www.intertrust.ru/schema/palette/tn-ui">

Информация
iconfalse
titleКраткое описание
  • скрытие кнопки
  • отключение кнопки
Блок кода
languagexml
titleСтруктура XML
collapsetrue
<?xml version='1.0' encoding='UTF-8'?>
<ui xmlns="http://www.intertrust.ru/schema/palette/tn-ui">
	    <form schema-ref="{schema name}" id="{id}">

		 
        <!-- system buttonaction -->
		<component>
			        <component>
            <button name="{name}">
				<properties>
					<hide>
						                <properties>
                    <hide>
                        <negative-condition-ref ref="read"/>
					                    </hide>
				                </properties>
				                <hint-pop-up>{hint}</hint-pop-up>
				<action>
					                <action>
                    <system name="http://intertrust.ru/cmj/relations#copy"/>
				                </action>
			            </button>
		        </component>

		 
        <!-- custom buttonaction -->
		        <section id="RootMenu">
            <component>
                <section id=">
			<component>
				{id}" name="{name}">
                    <component>
                        <button name="{name}">
                            <properties>
                                <hide>
                                    <negative-condition-ref ref="read"/>
                                </hide>
                            </properties>
                            <action>
                                <custom>
                                    <operation>
                                        <handler-ref ref="{operation name}"/>
                                    </operation>
                                </custom>
                            </action>
                        </button>
                    </component>
                </section>
            </component>
        </section>
		
	 	<!-- custom button -->
        <section id="{id}" name="{name}">
					<component>
						
            <component>
                <section id="{id}" name="{name}">
                    <component>
                        <button name="{name}">
							<properties>
								<disabled>
									                            <properties>
                                <disabled>
                                    <negative-condition-ref ref="read"/>
								</disabled>
							</properties>
							<action>
								<custom>
									<operation>
										                                </disabled>
                            </properties>
                            <action>
                                <custom>
                                    <operation>
                                        <handler-ref ref="{operation name}"/>
									</operation>
								</custom>
							</action>
						</button>
					</component>
				</section>
			</component>
		</section>
	                                    </operation>
                                </custom>
                            </action>
                        </button>
                    </component>
                </section>
            </component>
        </section>

    </form>
</ui>

hide

Скрывает кнопку при определенных условиях или при установке значения true/false.

ПараметрыОписание
condition-union
Объединения условий. Учитывается только OR
condition
Варианты условия: true или false. Если нужно изменить название на постоянной основе, то указывается true
condition-ref
Ссылка на условие
negative-condition-ref

Ссылка на условие с применением отрицания. Используются следующие условия:

disabled

Запрещает нажать на кнопку при определенных условиях или при установке значения true/false.

Примечание
iconfalse

Используется для кастомных кнопок (custom button), находящих на форме

ПараметрыОписание
condition-union
Объединения условий. Учитывается только OR
condition
Варианты условия: true или false. Если нужно изменить название на постоянной основе, то указывается true
condition-ref
Ссылка на условие
Свойства страницы
Статус

Статус
colourGreyGreen
titleЧерновикГОТОВО

Комментарий
панель

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

Оглавление